Fix some minor formatting in Alex Wu's cpu patch.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81361
This commit is contained in:
Christopher Michael 2012-12-19 13:58:52 +00:00 committed by Christopher Michael
parent 58304e01ab
commit 9f0e2fc7e8
1 changed files with 4 additions and 3 deletions

View File

@ -414,9 +414,10 @@ _ecore_wl_cb_idle_enterer(void *data)
if (!(ewd = data)) return ECORE_CALLBACK_RENEW;
ret = wl_display_flush(ewd->wl.display);
if (ret < 0 && errno == EAGAIN)
if ((ret < 0) && (errno == EAGAIN))
{
ecore_main_fd_handler_active_set(ewd->fd_hdl, ECORE_FD_READ | ECORE_FD_WRITE);
ecore_main_fd_handler_active_set(ewd->fd_hdl,
(ECORE_FD_READ | ECORE_FD_WRITE));
}
else if (ret < 0)
{
@ -447,7 +448,7 @@ _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl)
ret = wl_display_flush(ewd->wl.display);
if (ret == 0)
ecore_main_fd_handler_active_set(hdl, ECORE_FD_READ);
else if (ret == -1 && errno != EAGAIN)
else if ((ret == -1) && (errno != EAGAIN))
{
/* FIXME: need do error processing? */
}