From 7de587a06bca7a51b4b2b6750a2a8acd23612371 Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 24 Dec 2011 02:42:27 +0000 Subject: [PATCH] shit - seb - u're right! typo. :) git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@66487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/loaders/ico/evas_image_load_ico.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/loaders/ico/evas_image_load_ico.c b/src/modules/loaders/ico/evas_image_load_ico.c index b507a39..6e31191 100644 --- a/src/modules/loaders/ico/evas_image_load_ico.c +++ b/src/modules/loaders/ico/evas_image_load_ico.c @@ -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; -- 2.7.4