]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed case sensitivity
authorJulian Smart <julian@anthemion.co.uk>
Wed, 29 Sep 2004 17:53:43 +0000 (17:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 29 Sep 2004 17:53:43 +0000 (17:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpdata.cpp

index 41d62f45431342c02e7abd70af846d7adbc6a2ab..5f9d39ea19a55a286e4613b1d763938d36d385eb 100644 (file)
@@ -971,7 +971,7 @@ void wxHtmlSearchEngine::LookFor(const wxString& keyword, bool case_sensitive, b
     m_WholeWords = whole_words_only;
     m_Keyword = keyword;
 
-    if (m_CaseSensitive)
+    if (!m_CaseSensitive)
         m_Keyword.LowerCase();
 }