Revision: 7366
http://mahogany.svn.sourceforge.net/mahogany/?rev=7366&view=rev
Author: vadz
Date: 2007-09-07 15:34:58 -0700 (Fri, 07 Sep 2007)
Log Message:
-----------
fix a bug in quote level detection in Unicode build
Modified Paths:
--------------
trunk/M/src/classes/QuotedText.cpp
Modified: trunk/M/src/classes/QuotedText.cpp
===================================================================
--- trunk/M/src/classes/QuotedText.cpp 2007-09-07 22:32:32 UTC (rev 7365)
+++ trunk/M/src/classes/QuotedText.cpp 2007-09-07 22:34:58 UTC (rev 7366)
@@ -129,7 +129,7 @@
for ( const wxChar *c = string; *c != 0 && *c != '\n'; c++, lastQuote = c )
{
// skip leading white space
- for ( int num_white = 0; *c == '\t' || *c == ' '; c++ )
+ for ( int num_white = 0; *c == '\r' || *c == '\t' || *c == ' '; c++ )
{
if ( ++num_white > max_white )
{
@@ -142,7 +142,7 @@
}
// skip optional alphanumeric prefix
- for ( int num_alpha = 0; isalpha((unsigned char)*c); c++ )
+ for ( int num_alpha = 0; wxIsalpha(*c); c++ )
{
if ( ++num_alpha > max_alpha )
{
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