Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1:/tmp/cvs-serv26820/src/modules

Modified Files:
        BareBonesEditor.cpp 
Log Message:
don't change font if we don't have any encoding, this is harmless but unnecessary

Index: BareBonesEditor.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/BareBonesEditor.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -u -2 -r1.20 -r1.21
--- BareBonesEditor.cpp 2 Oct 2003 10:35:17 -0000       1.20
+++ BareBonesEditor.cpp 2 Oct 2003 12:03:12 -0000       1.21
@@ -891,4 +891,9 @@
 void BareBonesEditor::SetFontEncoding()
 {
+   if ( m_encoding == wxFONTENCODING_SYSTEM )
+   {
+      return;
+   }
+
    wxFont fontOld = m_textControl->GetFont();
 #if 0 // FIXME: wxGtk2.4/wxFont::SetEncoding doesn't work for some reason



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to