X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.c;h=d3805a1be115610f72c46ff2ee95d441937ae68e;hp=609659feb8fb53cf8b7dad08020b6048b955d0a8;hb=eda5076af8a5e224d63f560f50ab445de1287a72;hpb=9d1b442e15c3234388ac93a5b08d5904f3ca54c9 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;