Fixed a bug when we use '!' with the default search field.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 21 Mar 2013 12:50:47 +0000 (13:50 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 21 Mar 2013 12:50:47 +0000 (13:50 +0100)
mymail.c

index 3d835a7..318ba91 100644 (file)
--- a/mymail.c
+++ b/mymail.c
@@ -790,6 +790,7 @@ void init_condition(struct search_condition *condition, const char *full_string,
           }
         }
         string = full_string;
+        if(string[0] == '!') { string++; }
       }
     }