From: Francois Fleuret Date: Thu, 21 Mar 2013 12:50:47 +0000 (+0100) Subject: Fixed a bug when we use '!' with the default search field. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b75c74b6e32348eeb8ac214b39cb36aa82b9ab5;p=mymail.git Fixed a bug when we use '!' with the default search field. --- diff --git a/mymail.c b/mymail.c index 3d835a7..318ba91 100644 --- 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++; } } }