shit - seb - u're right! typo. :)
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Dec 2011 02:42:27 +0000 (02:42 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Dec 2011 02:42:27 +0000 (02:42 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/loaders/ico/evas_image_load_ico.c

index b507a39..6e31191 100644 (file)
@@ -171,7 +171,7 @@ evas_image_load_file_head_ico(Image_Entry *ie, const char *file, const char *key
      {
         unsigned char tw = 0, th = 0, tcols = 0;
         if (!read_uchar(map, fsize, &position, &tw)) goto close_file;
-        w = th;
+        w = tw;
         if (w <= 0) w = 256;
         if (!read_uchar(map, fsize, &position, &th)) goto close_file;
         h = th;
@@ -400,7 +400,7 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
      {
         unsigned char tw = 0, th = 0, tcols = 0;
         if (!read_uchar(map, fsize, &position, &tw)) goto close_file;
-        w = th;
+        w = tw;
         if (w <= 0) w = 256;
         if (!read_uchar(map, fsize, &position, &th)) goto close_file;
         h = th;