Revision: 7378
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7378&view=rev
Author:   vadz
Date:     2007-10-06 09:15:07 -0700 (Sat, 06 Oct 2007)

Log Message:
-----------
fix bug with non-ASCII characters in GetReplyPrefix()

Modified Paths:
--------------
    trunk/M/src/classes/ComposeTemplate.cpp

Modified: trunk/M/src/classes/ComposeTemplate.cpp
===================================================================
--- trunk/M/src/classes/ComposeTemplate.cpp     2007-09-20 12:10:33 UTC (rev 
7377)
+++ trunk/M/src/classes/ComposeTemplate.cpp     2007-10-06 16:15:07 UTC (rev 
7378)
@@ -598,7 +598,7 @@
          wxStringTokenizer tk(name, _T(" '-"));
          while ( tk.HasMoreTokens() )
          {
-            unsigned char chInitial = tk.GetNextToken()[0u];
+            wxChar chInitial = tk.GetNextToken()[0u];
 
             if ( chInitial == '<' )
             {
@@ -608,7 +608,7 @@
             }
 
             // only take letters as initials
-            if ( isalpha(chInitial) )
+            if ( wxIsalpha(chInitial) )
             {
                prefix += chInitial;
             }


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to