summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Czerski <r.czerski@samsung.com>2016-04-12 15:18:14 +0200
committerRadoslaw Czerski <r.czerski@samsung.com>2016-04-12 15:18:14 +0200
commit7dcb49cb587699ec7f5ca0b8d55970636123da8f (patch)
tree21736358b185aed09090d7a617c7247234d724fc
parentda256e674871c24b818c81c89a1bfb53dcba0d62 (diff)
downloadindicator-win-7dcb49cb587699ec7f5ca0b8d55970636123da8f.tar.gz
indicator-win-7dcb49cb587699ec7f5ca0b8d55970636123da8f.tar.bz2
indicator-win-7dcb49cb587699ec7f5ca0b8d55970636123da8f.zip
modules/processing/downloading: Hotfix.
Undefined evaluation order fix. Change-Id: I578060067b9a9b778679376239e4f17f7eb92950 Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
-rw-r--r--src/modules/processing/downloading.c3
1 files changed, 2 insertions, 1 deletions
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;
}