Measure extension from the end.

Signed-off-by: Sanjeev BA <as2902.b@samsung.com>
This commit is contained in:
Sanjeev BA 2014-08-07 13:33:30 +09:00
parent 4fc8cedccb
commit ecb6fea48d
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ _ephoto_eina_file_direct_info_image_useful(const Eina_File_Direct_Info *info)
if ((info->type != EINA_FILE_REG) && (info->type != EINA_FILE_UNKNOWN))
return EINA_FALSE;
type = strchr(bname, '.');
type = strrchr(bname, '.');
if(!type) return EINA_FALSE;
int count = sizeof(filters)/sizeof(filters[0]);
for (i=0; i < count; i++)