Whoops get the number we are strcmping right.

SVN revision: 56682
This commit is contained in:
titan 2011-02-03 19:30:59 +00:00 committed by titan
parent 2f49f3359f
commit 6a5164fae8
1 changed files with 4 additions and 4 deletions

View File

@ -93,10 +93,10 @@ _ephoto_thumb_populate_filter(void *data __UNUSED__, Eio_File *handler __UNUSED_
if (ext)
{
if ((!strncasecmp(ext, ".jpeg", 5)) ||
(!strncasecmp(ext, ".jpg", 5)) ||
(!strncasecmp(ext, ".png", 5)) ||
(!strncasecmp(ext, ".gif", 5)) ||
(!strncasecmp(ext, ".svg", 5)))
(!strncasecmp(ext, ".jpg", 4)) ||
(!strncasecmp(ext, ".png", 4)) ||
(!strncasecmp(ext, ".gif", 4)) ||
(!strncasecmp(ext, ".svg", 4)))
return EINA_TRUE;
}
return EINA_FALSE;