projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d1b442
)
* Fix window special port names detection on creating folders
author
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 20 Oct 2008 21:19:08 +0000
(21:19 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 20 Oct 2008 21:19:08 +0000
(21:19 +0000)
(fixes NB#89369).
pmo-trunk-r6131
src/modest-text-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
609659f
..
d3805a1
100644
(file)
--- 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;