Revision: 7351
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7351&view=rev
Author:   vadz
Date:     2007-08-29 17:14:55 -0700 (Wed, 29 Aug 2007)

Log Message:
-----------
mm_log() can be passed non-ASCII strings, use From8BitData() instead of 
FromAscii()

Modified Paths:
--------------
    trunk/M/src/mail/MailFolderCC.cpp

Modified: trunk/M/src/mail/MailFolderCC.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCC.cpp   2007-08-28 13:50:13 UTC (rev 7350)
+++ trunk/M/src/mail/MailFolderCC.cpp   2007-08-30 00:14:55 UTC (rev 7351)
@@ -5713,7 +5713,7 @@
    if ( mm_disable_callbacks || mm_ignore_errors )
       return;
 
-   String msg = wxString::FromAscii(str);
+   String msg = wxString::From8BitData(str);
 
    // TODO: what's going on here?
    if(errflg >= 4) // fatal imap error, reopen-mailbox
@@ -5735,7 +5735,7 @@
 
    // if ( !mm_disable_callbacks )
    {
-      MailFolderCC::mm_dlog(wxString::FromAscii(str));
+      MailFolderCC::mm_dlog(wxString::From8BitData(str));
    }
 }
 


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