2007-05-02 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 2 May 2007 14:54:50 +0000 (14:54 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 2 May 2007 14:54:50 +0000 (14:54 +0000)
* src/modest-text-utils.c: (modest_text_utils_validate_recipient):
        Comment out an if() that checks a gchar for < 0, causing a build-breaking
        warning. It is probably a logic error, but I need to fix the build.

pmo-trunk-r1732

ChangeLog2
src/modest-text-utils.c

index 7df983f..1cc8fe3 100644 (file)
@@ -1,5 +1,11 @@
 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
 
+       * src/modest-text-utils.c: (modest_text_utils_validate_recipient):
+       Comment out an if() that checks a gchar for < 0, causing a build-breaking 
+       warning. It is probably a logic error, but I need to fix the build.
+
+2007-05-02  Murray Cumming  <murrayc@murrayc.com>
+
        * src/modest-account-mgr.h:
        * src/modest-account-mgr.c: 
        (modest_account_mgr_account_names): Add a gboolean enabled_only 
index 2c09387..4e6846b 100644 (file)
@@ -1057,10 +1057,14 @@ modest_text_utils_validate_recipient (const gchar *recipient)
                has_error = TRUE;
                for (; *current != '\0'; current = g_utf8_next_char (current)) {
                        if (*current == '\\') {
+                               /* TODO: This causes a warning, which breaks the build, 
+                                * because a gchar cannot be < 0.
+                                * murrayc. 
                                if (current[1] <0) {
                                        has_error = TRUE;
                                        break;
                                }
+                               */
                        } else if (*current == '\"') {
                                has_error = FALSE;
                                current = g_utf8_next_char (current);