how about you actuallyl fix the code correctly rather than break it?
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Aug 2011 02:34:34 +0000 (02:34 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Aug 2011 02:34:34 +0000 (02:34 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/loaders/gif/evas_image_load_gif.c

index 59207f1..504018b 100644 (file)
@@ -380,8 +380,8 @@ _evas_image_load_frame(Image_Entry *ie, GifFileType *gif, Image_Entry_Frame *fra
    if ((!gif) || (!frame)) return EINA_FALSE;
    gif_frame = (Gif_Frame *) frame->info;
 
-   if (LOAD_FRAME_NONE < type) return EINA_FALSE;
-
+   if (type > LOAD_FRAME_DATA_INFO) return EINA_FALSE;
+   
    do
      {
         if (DGifGetRecordType(gif, &rec) == GIF_ERROR) return EINA_FALSE;