From e13221170d104a530cbac08bf7f0f151d2be285f Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sat, 24 Dec 2011 02:42:27 +0000 Subject: [PATCH] shit - seb - u're right! typo. :) SVN revision: 66487 --- legacy/evas/src/modules/loaders/ico/evas_image_load_ico.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/modules/loaders/ico/evas_image_load_ico.c b/legacy/evas/src/modules/loaders/ico/evas_image_load_ico.c index b507a39f3e..6e31191277 100644 --- a/legacy/evas/src/modules/loaders/ico/evas_image_load_ico.c +++ b/legacy/evas/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;