From 4f77f049ad0bca1faa3addd3b2177c72244b2a26 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 6 Jan 2015 17:18:58 +0100 Subject: [PATCH] Compare extensions undepending from the case Maybe some cameras like Olympus are going to save them as .JPG. --- src/bin/ephoto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/ephoto.h b/src/bin/ephoto.h index e0bc174..3a7adb0 100644 --- a/src/bin/ephoto.h +++ b/src/bin/ephoto.h @@ -185,7 +185,7 @@ _ephoto_eina_file_direct_info_image_useful(const Eina_File_Direct_Info *info) int count = sizeof(filters)/sizeof(filters[0]); for (i=0; i < count; i++) { - if (!strcmp(type+1, filters[i])) + if (!strcasecmp(type+1, filters[i])) return evas_object_image_extension_can_load_get(bname); } return EINA_FALSE;