Compare extensions undepending from the case
Maybe some cameras like Olympus are going to save them as .JPG.
This commit is contained in:
parent
ad79256b8e
commit
4f77f049ad
|
@ -185,7 +185,7 @@ _ephoto_eina_file_direct_info_image_useful(const Eina_File_Direct_Info *info)
|
||||||
int count = sizeof(filters)/sizeof(filters[0]);
|
int count = sizeof(filters)/sizeof(filters[0]);
|
||||||
for (i=0; i < count; i++)
|
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 evas_object_image_extension_can_load_get(bname);
|
||||||
}
|
}
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue