Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27740/src/modules/viewflt
Modified Files:
QuoteURL.cpp
Log Message:
don't go beyond the end of the message (crash fix)
Index: QuoteURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/QuoteURL.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -u -2 -r1.23 -r1.24
--- QuoteURL.cpp 17 Sep 2004 10:33:54 -0000 1.23
+++ QuoteURL.cpp 17 Sep 2004 10:52:56 -0000 1.24
@@ -588,5 +588,5 @@
int lenURL;
const wxChar *startURL = FindURLIfNeeded(lineCur, lenURL);
- for ( ;; )
+ while ( *lineCur )
{
if ( m_options.quotedColourize )
@@ -601,5 +601,5 @@
// find the start of the next line
- const wxChar *lineNext = wxStrchr(lineCur + 1, _T('\n'));
+ const wxChar *lineNext = wxStrchr(lineCur, _T('\n'));
// and look for all URLs on the current line
-------------------------------------------------------
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