Whoops get the number we are strcmping right.

SVN revision: 56682
v-1.6.0
titan 13 years ago committed by titan
parent 2f49f3359f
commit 6a5164fae8
  1. 8
      src/bin/ephoto_main.c

@ -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;

Loading…
Cancel
Save