From 6a5164fae856db89b83c62edabcd2d6ba14630ac Mon Sep 17 00:00:00 2001 From: titan Date: Thu, 3 Feb 2011 19:30:59 +0000 Subject: [PATCH] Whoops get the number we are strcmping right. SVN revision: 56682 --- src/bin/ephoto_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index 79bce7f..e4af686 100644 --- a/src/bin/ephoto_main.c +++ b/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;