aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-04-22 09:19:23 +1000
committerDavid Walter Seikel2012-04-22 09:19:23 +1000
commitc963d75dfdeec11f82e79e727062fbf89afa2c04 (patch)
tree895633dbf641110be46f117c29890c49b3ffc0bd /libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
parentAdding the new extantz viewer and grid manager. (diff)
downloadSledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.zip
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.gz
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.bz2
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.xz
Update EFL to latest beta.
Diffstat (limited to '')
-rw-r--r--libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
index c764f6d..f00f92d 100644
--- a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
+++ b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
@@ -153,7 +153,7 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UN
153 position = 0; 153 position = 0;
154 if (length < 9) 154 if (length < 9)
155 { 155 {
156 ERR("XPM ERROR: file size, %i, is to small", length); 156 ERR("XPM ERROR: file size, %zd, is to small", length);
157 eina_file_close(f); 157 eina_file_close(f);
158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
159 return EINA_FALSE; 159 return EINA_FALSE;
@@ -170,7 +170,6 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UN
170 170
171 if (strncmp("/* XPM */", map, 9)) 171 if (strncmp("/* XPM */", map, 9))
172 { 172 {
173 ERR("XPM ERROR: header not found");
174 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 173 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
175 goto on_error; 174 goto on_error;
176 } 175 }