Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21433
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.141
retrieving revision 1.142
diff -b -u -2 -r1.141 -r1.142
--- strutil.cpp 13 Feb 2006 02:48:49 -0000 1.141
+++ strutil.cpp 13 Feb 2006 03:20:38 -0000 1.142
@@ -1479,5 +1479,5 @@
wxFontEncoding ConvertUTFToMB(wxString *strUtf, wxFontEncoding enc)
{
-#if !wxUSE_WCHAR_T
+#if !defined __WXGTK20__
CHECK( strUtf, wxFONTENCODING_SYSTEM, _T("NULL string in ConvertUTFToMB") );
@@ -1552,5 +1552,6 @@
enc = wxFONTENCODING_SYSTEM;
}
-#endif // !wxUSE_WCHAR_T
+#endif // !__WXGTK20__
+
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