]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a misplaced } that was causing the wrong encoding to be enumerated
authorRobin Dunn <robin@alldunn.com>
Sat, 6 Nov 1999 08:03:56 +0000 (08:03 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 6 Nov 1999 08:03:56 +0000 (08:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/fontenum.cpp

index 33b5a192d8e318c04b0c0750d6268ee9a355d6b9..c2faf35d094f8cd65237a4881f84d497020d60ea 100644 (file)
@@ -103,10 +103,9 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
             // no such encodings at all
             return FALSE;
         }
-
-        m_charset = info.charset;
-        m_facename = info.facename;
     }
+    m_charset = info.charset;
+    m_facename = info.facename;
 
     return TRUE;
 }