fix for typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a29a241fd6
commit
91cddacfe0
@ -808,8 +808,10 @@ wxFont wxXmlResourceHandler::GetFont(const wxString& param)
|
||||
wxString encoding = GetParamValue(wxT("encoding"));
|
||||
wxFontMapper mapper;
|
||||
wxFontEncoding enc = wxFONTENCODING_DEFAULT;
|
||||
if (!encoding.IsEmpty()) enc = mapper.CharsetToEncoding(encoding);
|
||||
if (enc == wxFONTENCODING_SYSTEM) enc = wxFONTENCODING_SYSTEM;
|
||||
if (!encoding.IsEmpty())
|
||||
enc = mapper.CharsetToEncoding(encoding);
|
||||
if (enc == wxFONTENCODING_SYSTEM)
|
||||
enc = wxFONTENCODING_DEFAULT;
|
||||
|
||||
wxString faces = GetParamValue(wxT("face"));
|
||||
wxString facename = wxEmptyString;
|
||||
|
@ -808,8 +808,10 @@ wxFont wxXmlResourceHandler::GetFont(const wxString& param)
|
||||
wxString encoding = GetParamValue(wxT("encoding"));
|
||||
wxFontMapper mapper;
|
||||
wxFontEncoding enc = wxFONTENCODING_DEFAULT;
|
||||
if (!encoding.IsEmpty()) enc = mapper.CharsetToEncoding(encoding);
|
||||
if (enc == wxFONTENCODING_SYSTEM) enc = wxFONTENCODING_SYSTEM;
|
||||
if (!encoding.IsEmpty())
|
||||
enc = mapper.CharsetToEncoding(encoding);
|
||||
if (enc == wxFONTENCODING_SYSTEM)
|
||||
enc = wxFONTENCODING_DEFAULT;
|
||||
|
||||
wxString faces = GetParamValue(wxT("face"));
|
||||
wxString facename = wxEmptyString;
|
||||
|
Loading…
Reference in New Issue
Block a user