modules/processing/downloading: Hotfix.
authorRadoslaw Czerski <r.czerski@samsung.com>
Tue, 12 Apr 2016 13:18:14 +0000 (15:18 +0200)
committerRadoslaw Czerski <r.czerski@samsung.com>
Tue, 12 Apr 2016 13:18:14 +0000 (15:18 +0200)
Undefined evaluation order fix.

Change-Id: I578060067b9a9b778679376239e4f17f7eb92950
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
src/modules/processing/downloading.c

index a021f8d9e2b69bcf5bebc41d50e7fb5c3c79b6b8..9adfc5987b0312d28ce9ebe9d4408118c62758d1 100644 (file)
@@ -86,7 +86,8 @@ static Eina_Bool show_downloading_icon_cb(void* data)
 {
 
        show_image_icon(data,icon_index);
-       icon_index = (++icon_index % ICON_NUM) ? icon_index : 0;
+       icon_index++;
+       icon_index = (icon_index % ICON_NUM) ? icon_index : 0;
 
        return ECORE_CALLBACK_RENEW;
 }