From 7dcb49cb587699ec7f5ca0b8d55970636123da8f Mon Sep 17 00:00:00 2001 From: Radoslaw Czerski Date: Tue, 12 Apr 2016 15:18:14 +0200 Subject: modules/processing/downloading: Hotfix. Undefined evaluation order fix. Change-Id: I578060067b9a9b778679376239e4f17f7eb92950 Signed-off-by: Radoslaw Czerski --- src/modules/processing/downloading.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/processing/downloading.c b/src/modules/processing/downloading.c index a021f8d..9adfc59 100644 --- a/src/modules/processing/downloading.c +++ b/src/modules/processing/downloading.c @@ -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; } -- cgit v1.2.3