One more.
authorGustavo Lima Chaves <glima@profusion.mobi>
Wed, 7 Apr 2010 17:28:15 +0000 (17:28 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Wed, 7 Apr 2010 17:28:15 +0000 (17:28 +0000)
SVN revision: 47818

src/edje_externals/elm_thumb.c

index fd00d07..f8fdba3 100644 (file)
@@ -16,7 +16,7 @@ _anim_setting_get(const char *anim_str)
 {
    unsigned int i;
 
-   assert(sizeof(choices)/sizeof(choices[0]) == ELM_THUMB_ANIMATION_LAST);
+   assert(sizeof(choices)/sizeof(choices[0]) == ELM_THUMB_ANIMATION_LAST + 1);
 
    for (i = 0; i < sizeof(choices); i++)
      {