Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26238/src/modules/viewflt
Modified Files:
TextMarkup.cpp
Log Message:
fixed bug introduced in last commit; no other changes
Index: TextMarkup.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/TextMarkup.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -u -2 -r1.12 -r1.13
--- TextMarkup.cpp 12 Jul 2004 20:25:08 -0000 1.12
+++ TextMarkup.cpp 12 Jul 2004 21:58:26 -0000 1.13
@@ -172,9 +172,4 @@
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 )
@@ -199,6 +194,11 @@
}
+ // do not append an extra NUL to the text, strings with embedded
+ // NULs confuse the code elsewhere
+ if ( *pc )
+ {
(state == Normal ? textNormal : textSpecial) += *pc;
}
+ }
if ( *pc == _T('\0') )
-------------------------------------------------------
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