diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c | 3 |
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 | } |