Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7551/src/modules/viewflt
Modified Files:
TextMarkup.cpp
Log Message:
don't insert NULs in the middle of strings passed to the viewer, this results in bugs
elsewhere
Index: TextMarkup.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/TextMarkup.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -u -2 -r1.11 -r1.12
--- TextMarkup.cpp 13 Oct 2003 00:41:14 -0000 1.11
+++ TextMarkup.cpp 12 Jul 2004 20:25:08 -0000 1.12
@@ -172,4 +172,9 @@
break;
+ case _T('\0'):
+ // do not append an extra NUL to the text, strings with embedded
+ // NULs confuse the code elsewhere
+ break;
+
default:
if ( state != Normal )
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates