X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..836915e177aa750ca5c3bc19b4dbdedd36603e8d:/src/html/m_fonts.cpp diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 61e59f86c3..0014a38ed8 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -34,7 +34,7 @@ FORCE_LINK_ME(m_fonts) TAG_HANDLER_BEGIN(FONT, "FONT") TAG_HANDLER_VARS - wxSortedArrayString m_Faces; + wxArrayString m_Faces; TAG_HANDLER_PROC(tag) { @@ -80,7 +80,7 @@ TAG_HANDLER_BEGIN(FONT, "FONT") while (tk.HasMoreTokens()) { - if ((index = m_Faces.Index(tk.GetNextToken())) != wxNOT_FOUND) + if ((index = m_Faces.Index(tk.GetNextToken(), FALSE)) != wxNOT_FOUND) { m_WParser->SetFontFace(m_Faces[index]); m_WParser->GetContainer()->InsertCell(new wxHtmlFontCell(m_WParser->CreateCurrentFont()));