elementary: fix the macro, thanks gustavo

SVN revision: 64686
This commit is contained in:
Michael BOUCHAUD 2011-11-03 11:53:18 +00:00
parent a5fd615233
commit f0dfd728f9
1 changed files with 1 additions and 1 deletions

View File

@ -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;