modules/processing/downloading: Hotfix. 18/65818/1
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 a021f8d..9adfc59 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;
 }