]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed Content-Type lookup
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jun 2003 21:23:53 +0000 (21:23 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jun 2003 21:23:53 +0000 (21:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlpars.cpp

index ac2fc44880df4a532a87fa28afeef1d61a89da77..efd6d9349e45b4fcbb96126adc62fc7428fcef41 100644 (file)
@@ -872,7 +872,7 @@ bool wxMetaTagHandler::HandleTag(const wxHtmlTag& tag)
     }
 
     if (tag.HasParam(_T("HTTP-EQUIV")) &&
-        tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") &&
+        tag.GetParam(_T("HTTP-EQUIV")).IsSameAs(_T("Content-Type"), false) &&
         tag.HasParam(_T("CONTENT")))
     {
         wxString content = tag.GetParam(_T("CONTENT"));