From: buliabyak Date: Sun, 11 Feb 2007 23:52:44 +0000 (+0000) Subject: fix warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b87450ff8d0425ab9fd17f42287a2f5337b152a2;p=inkscape.git fix warning --- diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index c4bea0e1d..66b307272 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -1140,7 +1140,7 @@ filename_add_extension (const gchar *filename, const gchar *extension) return g_strconcat (filename, extension, NULL); else { - if (g_strncasecmp (dot + 1, extension,-1) == 0) + if (g_strcasecmp (dot + 1, extension) == 0) return g_strdup (filename); else {