Revision: 7338
http://mahogany.svn.sourceforge.net/mahogany/?rev=7338&view=rev
Author: vadz
Date: 2007-08-24 15:36:38 -0700 (Fri, 24 Aug 2007)
Log Message:
-----------
always map "Default" language to wxFONTENCODING_DEFAULT, don't use the default
encoding option for it
Modified Paths:
--------------
trunk/M/src/gui/wxMenuDefs.cpp
Modified: trunk/M/src/gui/wxMenuDefs.cpp
===================================================================
--- trunk/M/src/gui/wxMenuDefs.cpp 2007-08-24 22:36:20 UTC (rev 7337)
+++ trunk/M/src/gui/wxMenuDefs.cpp 2007-08-24 22:36:38 UTC (rev 7338)
@@ -51,7 +51,6 @@
// options we use here
// ----------------------------------------------------------------------------
-extern const MOption MP_MSGVIEW_DEFAULT_ENCODING;
extern const MOption MP_TBARIMAGES;
// ----------------------------------------------------------------------------
@@ -968,7 +967,10 @@
// fall through
case WXMENU_LANG_DEFAULT:
- encoding = READ_APPCONFIG(MP_MSGVIEW_DEFAULT_ENCODING);
+ // do not use MP_MSGVIEW_DEFAULT_ENCODING here, selecting "Default"
+ // language from the menu means that we should detect the encoding
+ // automatically and this is done when we return
wxFONTENCODING_DEFAULT
+ encoding = wxFONTENCODING_DEFAULT;
break;
case WXMENU_LANG_ISO8859_1:
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