From eda5076af8a5e224d63f560f50ab445de1287a72 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Mon, 20 Oct 2008 21:19:08 +0000 Subject: [PATCH] * Fix window special port names detection on creating folders (fixes NB#89369). pmo-trunk-r6131 --- src/modest-text-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index 609659f..d3805a1 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -1392,8 +1392,8 @@ modest_text_utils_validate_folder_name (const gchar *folder_name) /* Cannot contain Windows port numbers. I'd like to use GRegex but it's still not available in Maemo. sergio */ - if (g_ascii_strncasecmp (folder_name, "LPT", 3) || - g_ascii_strncasecmp (folder_name, "COM", 3)) { + if (!g_ascii_strncasecmp (folder_name, "LPT", 3) || + !g_ascii_strncasecmp (folder_name, "COM", 3)) { glong val; gchar *endptr; -- 1.7.9.5