Revision: 7375
http://mahogany.svn.sourceforge.net/mahogany/?rev=7375&view=rev
Author: vadz
Date: 2007-09-11 16:50:57 -0700 (Tue, 11 Sep 2007)
Log Message:
-----------
don't misdetect lines starting with non-ANSI characters for quoted lines
Modified Paths:
--------------
trunk/M/src/classes/QuotedText.cpp
Modified: trunk/M/src/classes/QuotedText.cpp
===================================================================
--- trunk/M/src/classes/QuotedText.cpp 2007-09-10 15:27:07 UTC (rev 7374)
+++ trunk/M/src/classes/QuotedText.cpp 2007-09-11 23:50:57 UTC (rev 7375)
@@ -166,10 +166,10 @@
// the message
// TODO: make the string of "quoting characters" configurable
- static const char *QUOTE_CHARS = ">|})*";
+ static const wxChar *QUOTE_CHARS = _T(">|})*");
// strchr would find NUL in the string so test for it separately
- if ( *c == '\0' || !strchr(QUOTE_CHARS, *c) )
+ if ( *c == '\0' || !wxStrchr(QUOTE_CHARS, *c) )
break;
// '*' and '}' are too often used for other purposes, check that we
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates