Fixed a bug when we use '!' with the default search field.
[mymail.git] / 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++; }
       }
     }