X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84e5f5395d1a2834b28b797689c9d88b2ff4d134..82dd98a702e7dd277c36a6d6c53879893dfc3250:/src/html/m_fonts.cpp?ds=sidebyside diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 5b5fec3a93..a632859a9e 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -206,20 +206,20 @@ TAG_HANDLER_BEGIN(Hx, "H1,H2,H3,H4,H5,H6") m_WParser -> SetFontUnderlined(FALSE); m_WParser -> SetFontFixed(FALSE); - if (tag.GetName() == "H1") + if (tag.GetName() == wxT("H1")) m_WParser -> SetFontSize(7); - else if (tag.GetName() == "H2") + else if (tag.GetName() == wxT("H2")) m_WParser -> SetFontSize(6); - else if (tag.GetName() == "H3") + else if (tag.GetName() == wxT("H3")) m_WParser -> SetFontSize(5); - else if (tag.GetName() == "H4") { + else if (tag.GetName() == wxT("H4")) { m_WParser -> SetFontSize(5); m_WParser -> SetFontItalic(TRUE); m_WParser -> SetFontBold(FALSE); } - else if (tag.GetName() == "H5") + else if (tag.GetName() == wxT("H5")) m_WParser -> SetFontSize(4); - else if (tag.GetName() == "H6") { + else if (tag.GetName() == wxT("H6")) { m_WParser -> SetFontSize(4); m_WParser -> SetFontItalic(TRUE); m_WParser -> SetFontBold(FALSE);