X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc4e6fcdc3413d298656cc0d321295f5d3f44c2e..df16a53ef9ae506c51023178e4fe45ce45e69447:/src/msw/fontutil.cpp diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index f994a460a4..5fdf917e37 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -41,6 +41,11 @@ #include "wx/tokenzr.h" +// for MSVC5 and old w32api +#ifndef HANGUL_CHARSET +# define HANGUL_CHARSET 129 +#endif + // ============================================================================ // implementation // ============================================================================ @@ -63,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 )