evas/async_events: missed counting fix in unblocking _process()

SVN revision: 82834
This commit is contained in:
Ulisses Furquim 2013-01-15 18:00:15 +00:00
parent b557bd9e0d
commit 028e7e9ed2
1 changed files with 2 additions and 2 deletions

View File

@ -177,13 +177,13 @@ _evas_async_events_process_single(void)
EAPI int EAPI int
evas_async_events_process(void) evas_async_events_process(void)
{ {
int count = 0; int nr, count = 0;
if (_fd_read == -1) return 0; if (_fd_read == -1) return 0;
_evas_async_events_fork_handle(); _evas_async_events_fork_handle();
while (_evas_async_events_process_single() > 0) count++; while ((nr = _evas_async_events_process_single()) > 0) count += nr;
evas_cache_image_wakeup(); evas_cache_image_wakeup();