From b87450ff8d0425ab9fd17f42287a2f5337b152a2 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 11 Feb 2007 23:52:44 +0000 Subject: [PATCH] fix warning --- src/dialogs/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2