CVS: sylpheed-claws/src matcher.c,1.75.2.19,1.75.2.19.2.1

Paul Mangan <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /cvsroot/sylpheed-claws/sylpheed-claws/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9015/src

Modified Files:
      Tag: stable_2_1
	matcher.c 
Log Message:
2006-04-28 [paul]	2.1.1cvs11-stable

	* src/matcher.c
		fix returned quick search results when search
		term contains an underscore.
		Thanks to Colin 

Index: matcher.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/matcher.c,v
retrieving revision 1.75.2.19
retrieving revision 1.75.2.19.2.1
diff -u -r1.75.2.19 -r1.75.2.19.2.1
--- matcher.c	26 Mar 2006 11:02:13 -0000	1.75.2.19
+++ matcher.c	28 Apr 2006 09:23:08 -0000	1.75.2.19.2.1
@@ -392,7 +392,7 @@
 		res = matcherprop_string_match(prop, tmp);
 	}
 	
-	if (res == FALSE && strchr(prop->expr, '=')) {
+	if (res == FALSE && strchr(prop->expr, '=') || strchr(prop->expr, '_') ) {
 		/* if searching for something with an equal char, maybe 
 		 * we should try to match the non-decoded string. 
 		 * In case it was not qp-encoded. */



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.