Whoops get the number we are strcmping right.
SVN revision: 56682
This commit is contained in:
parent
2f49f3359f
commit
6a5164fae8
|
@ -93,10 +93,10 @@ _ephoto_thumb_populate_filter(void *data __UNUSED__, Eio_File *handler __UNUSED_
|
||||||
if (ext)
|
if (ext)
|
||||||
{
|
{
|
||||||
if ((!strncasecmp(ext, ".jpeg", 5)) ||
|
if ((!strncasecmp(ext, ".jpeg", 5)) ||
|
||||||
(!strncasecmp(ext, ".jpg", 5)) ||
|
(!strncasecmp(ext, ".jpg", 4)) ||
|
||||||
(!strncasecmp(ext, ".png", 5)) ||
|
(!strncasecmp(ext, ".png", 4)) ||
|
||||||
(!strncasecmp(ext, ".gif", 5)) ||
|
(!strncasecmp(ext, ".gif", 4)) ||
|
||||||
(!strncasecmp(ext, ".svg", 5)))
|
(!strncasecmp(ext, ".svg", 4)))
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue