fixed quotation of matcher strings
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Wed, 10 Dec 2003 15:15:25 +0000 (15:15 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Wed, 10 Dec 2003 15:15:25 +0000 (15:15 +0000)
ChangeLog.claws
configure.ac
src/matcher.c

index e0dbda009031c4ab6a34b50d4dd6f34cd2c0890a..ee8da17ff4fc2a54592e5f1bee6aef7bd46ab446 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-10 [hoa]       0.9.7claws33
+
+       * src/matcher.c
+               fixed quotation of string for matcher.
+
 2003-12-08 [paul]      0.9.7claws32
 
        * src/imap.c
 2003-12-08 [paul]      0.9.7claws32
 
        * src/imap.c
index b52a87bf232caabc6221663b274456ab2386f5da..ef3a62c5a4dbdc0706c64ad218b51e00fa7fc641 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=7
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=7
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=32
+EXTRA_VERSION=33
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 87d5a7c410efc82b4ae439f6a4f19abfe331203b..28a32e289dc2ddc94f532df93a4ec6a114c3687f 100644 (file)
@@ -952,7 +952,7 @@ static gint quote_filter_str(gchar * result, guint size,
 
        for(p = path ; * p != '\0' ; p ++) {
 
 
        for(p = path ; * p != '\0' ; p ++) {
 
-               if ((* p != '\"') || (* p != '\\')) {
+               if ((* p != '\"') && (* p != '\\')) {
                        if (remaining > 0) {
                                * result_p = * p;
                                result_p ++; 
                        if (remaining > 0) {
                                * result_p = * p;
                                result_p ++;