From: Václav Slavík Date: Fri, 8 Mar 2002 23:47:48 +0000 (+0000) Subject: case insensitive X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/955c525d2c9fd998494f52e4592db56ad4e0b990 case insensitive git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 453b074905..37e0315ec3 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -147,6 +147,7 @@ wxHTML: - added blocking and redirecting capabilities to wxHtmlWindow via wxHtmlWindow::OnOpeningURL() - fixed alignment handling in tables +- fixed handling to be case insensitive 2.3.2 ----- 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()));