X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..0f243af310c9772628bbeeab8131a8c09bb94dbc:/src/html/m_meta.cpp diff --git a/src/html/m_meta.cpp b/src/html/m_meta.cpp index 50c100bc87..2c707c6c82 100644 --- a/src/html/m_meta.cpp +++ b/src/html/m_meta.cpp @@ -22,7 +22,6 @@ #endif #ifndef WXPRECOMP -#include "wx/wx.h" #endif #include "wx/fontmap.h" @@ -39,14 +38,14 @@ TAG_HANDLER_BEGIN(META, "META") TAG_HANDLER_PROC(tag) { - if (tag.HasParam(_T("HTTP-EQUIV")) && + if (tag.HasParam(_T("HTTP-EQUIV")) && tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") && tag.HasParam(_T("CONTENT"))) { wxString content = tag.GetParam(_T("CONTENT")); if (content.Left(19) == _T("text/html; charset=")) { - wxFontEncoding enc = + wxFontEncoding enc = wxTheFontMapper->CharsetToEncoding(content.Mid(19)); if (enc == wxFONTENCODING_SYSTEM) return FALSE; if (enc == m_WParser->GetInputEncoding()) return FALSE;