From: raster Date: Sat, 24 Dec 2011 02:42:27 +0000 (+0000) Subject: shit - seb - u're right! typo. :) X-Git-Tag: 2.0_alpha~153^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e9067f2d6a9ab5f5457f64ccfcff4a6e43ca945;p=framework%2Fuifw%2Fevas.git shit - seb - u're right! typo. :) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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;