Code

fix warning
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 11 Feb 2007 23:52:44 +0000 (23:52 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 11 Feb 2007 23:52:44 +0000 (23:52 +0000)
src/dialogs/export.cpp

index c4bea0e1d24c6a44828564d61e73489147f5d09d..66b307272debd961b16f5c88760605316b2016e1 100644 (file)
@@ -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
       {