summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRadoslaw Czerski <r.czerski@samsung.com>2016-04-12 15:18:33 +0200
committerRadoslaw Czerski <r.czerski@samsung.com>2016-04-12 15:18:33 +0200
commit95d657cc1a13f979a8a42984d11f845d90c19100 (patch)
tree97ad0aa6c61490f3a431628e561e64cfbad9de72 /src
parent7dcb49cb587699ec7f5ca0b8d55970636123da8f (diff)
downloadindicator-win-95d657cc1a13f979a8a42984d11f845d90c19100.tar.gz
indicator-win-95d657cc1a13f979a8a42984d11f845d90c19100.tar.bz2
indicator-win-95d657cc1a13f979a8a42984d11f845d90c19100.zip
modules/processing/uploading: Hotfix.
Undefined evaluation order fixed. Change-Id: I388caf42faf1bd94cbdd6c3f06bdb3592884544d Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/modules/processing/uploading.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/processing/uploading.c b/src/modules/processing/uploading.c
index 71b5ac6..0f08435 100644
--- a/src/modules/processing/uploading.c
+++ b/src/modules/processing/uploading.c
@@ -86,7 +86,8 @@ static Eina_Bool show_uploading_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;
}