Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11926/src/util
Modified Files:
strutil.cpp
Log Message:
do not convert UTF-8 messages with wxGTK2
Index: strutil.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/strutil.cpp,v
retrieving revision 1.140
retrieving revision 1.141
diff -b -u -2 -r1.140 -r1.141
--- strutil.cpp 16 Jan 2006 20:32:28 -0000 1.140
+++ strutil.cpp 13 Feb 2006 02:48:49 -0000 1.141
@@ -1479,4 +1479,5 @@
wxFontEncoding ConvertUTFToMB(wxString *strUtf, wxFontEncoding enc)
{
+#if !wxUSE_WCHAR_T
CHECK( strUtf, wxFONTENCODING_SYSTEM, _T("NULL string in ConvertUTFToMB") );
@@ -1551,5 +1552,5 @@
enc = wxFONTENCODING_SYSTEM;
}
-
+#endif // !wxUSE_WCHAR_T
return enc;
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates