Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26252/src/util

Modified Files:
        matchurl.cpp 
Log Message:
check that punctuation sign is followed by space in end of word test

Index: matchurl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/matchurl.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -b -u -2 -r1.38 -r1.39
--- matchurl.cpp        16 Sep 2004 20:47:30 -0000      1.38
+++ matchurl.cpp        18 Sep 2004 19:05:06 -0000      1.39
@@ -717,5 +717,5 @@
             q++;
 
-         if ( wxStrchr(_T(" .,:;"), *q) )
+         if ( *q == _T(' ') || (wxStrchr(_T(".,:;"), *q) && q[1] == _T(' ')) )
          {
             // looks like we've a word (i.e. sequence of letters terminated by



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to