]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed stupid bug which prevented automatic encoding conversion
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2001 01:51:42 +0000 (01:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2001 01:51:42 +0000 (01:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/fontutil.cpp

index db57d5519d205ef116d27bb895f0ebe2783368c2..5fdf917e370e22c06289625248f5d867a6370d7a 100644 (file)
@@ -68,8 +68,6 @@ bool wxNativeEncodingInfo::FromString(const wxString& s)
     encoding = (wxFontEncoding)enc;
 
     facename = tokenizer.GetNextToken();
-    if ( !facename )
-        return FALSE;
 
     wxString tmp = tokenizer.GetNextToken();
     if ( !tmp )