bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=4f77f049ad0bca1faa3addd3b2177c72244b2a26

commit 4f77f049ad0bca1faa3addd3b2177c72244b2a26
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Jan 6 17:18:58 2015 +0100

    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;

-- 


Reply via email to