summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-13 10:50:30 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-13 10:51:43 -0400
commitcac879d289d6573c3ab24eca37be1e560af36b2c (patch)
tree5012dcfa22ae7ee6c59a4932261355c63e3d02d6
parent5f68ea5c8d6b769141b027f96c9a06e85f5f499b (diff)
downloadenlightenment-cac879d289d6573c3ab24eca37be1e560af36b2c.tar.gz
use a more obvious iterator limit for gadman edit end
CIDs 1039846, 1039845, 1039844
-rw-r--r--src/modules/gadman/e_mod_gadman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c
index 5e3d62e90c..1d39cebe22 100644
--- a/src/modules/gadman/e_mod_gadman.c
+++ b/src/modules/gadman/e_mod_gadman.c
@@ -465,7 +465,7 @@ gadman_gadget_edit_end(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const
unsigned int layer;
E_Gadcon_Client *drag_gcc = NULL;
- for (layer = GADMAN_LAYER_COUNT - 1; layer < UINT_MAX; layer--)
+ for (layer = GADMAN_LAYER_COUNT - 1; layer < GADMAN_LAYER_COUNT; layer--)
{
const Eina_List *l;
E_Gadcon *gc;