forked from enlightenment/efl
elementary: fix the macro, thanks gustavo
SVN revision: 64686
This commit is contained in:
parent
a5fd615233
commit
f0dfd728f9
|
@ -22,7 +22,7 @@ typedef struct _Elm_Params_Toolbar
|
|||
|
||||
#define SHRINK_GET(CHOICES, STR) \
|
||||
unsigned int i; \
|
||||
for (i = 0; i < sizeof(CHOICES); ++i) \
|
||||
for (i = 0; i < (sizeof(CHOICES)/sizeof(CHOICES[0])); ++i) \
|
||||
if (!strcmp(STR, CHOICES[i])) \
|
||||
return i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue