Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16453/src/modules/viewflt
Modified Files:
QuoteURL.cpp
Log Message:
fixed bug with duplicating parts of text in a line containing multiple URLs
Index: QuoteURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/QuoteURL.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -u -2 -r1.24 -r1.25
--- QuoteURL.cpp 17 Sep 2004 10:52:56 -0000 1.24
+++ QuoteURL.cpp 23 Oct 2004 23:16:55 -0000 1.25
@@ -607,6 +607,7 @@
while ( startURL && (lineCur <= startURL && startURL < lineNext) )
{
- // insert the text before URL
- String textBefore(lineCur, startURL);
+ // insert the text before URL (endURL is the end of previous URL, not
+ // this one or the start of line initially)
+ String textBefore(endURL, startURL);
m_next->Process(textBefore, viewer, style);
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates