From 4296d1cc8b3bc765f3df3c355df30136d1c87e40 Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 12 Aug 2011 02:34:34 +0000 Subject: [PATCH] how about you actuallyl fix the code correctly rather than break it? git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@62369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/loaders/gif/evas_image_load_gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/loaders/gif/evas_image_load_gif.c b/src/modules/loaders/gif/evas_image_load_gif.c index 59207f1..504018b 100644 --- a/src/modules/loaders/gif/evas_image_load_gif.c +++ b/src/modules/loaders/gif/evas_image_load_gif.c @@ -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; -- 2.7.4