revert matcher.c and matcher_parse_lex.l to previous revision
[claws.git] / src / matcher.c
index b8a353089ffe67725283d8226f8d4d61226e9ba9..46605fe3085addc0afb900c816844bc9633d563c 100644 (file)
@@ -127,20 +127,12 @@ gchar *matcher_unescape_str(gchar *str)
                else {
                        src++;
                        if (*src == '\\')
-                               *dst++ = '\\';                          /* insert backslash */
-                       else if (*src == 'n')                           /* insert control characters */
+                               *dst++ = '\\';
+                       else if (*src == 'n')
                                *dst++ = '\n';
                        else if (*src == 'r') 
                                *dst++ = '\r';
-                       else if (*src == 't') 
-                               *dst++ = '\t';
-                       else if (*src == 'r') 
-                               *dst++ = '\r';
-                       else if (*src == 'b')
-                               *dst++ = '\b';
-                       else if (*src == 'f')
-                               *dst++ = '\f';
-                       else if (*src == '\'' || *src == '\"')          /* insert \' or \" */
+                       else if (*src == '\'' || *src == '\"')
                                *dst++ = *src;
                        else {
                                src--;
@@ -1072,7 +1064,6 @@ static void prefs_filtering_write(FILE * fp, GSList * prefs_scoring)
 
                prop = (FilteringProp *) cur->data;
                filtering_str = filteringprop_to_string(prop);
-               debug_print("FILTERING WRITING %s\n", filtering_str);
                
                if (fputs(filtering_str, fp) == EOF ||
                    fputc('\n', fp) == EOF) {