From 3444e4a8f9c29ab501a65d2a0ffcd0c04de52371 Mon Sep 17 00:00:00 2001
From: Julian Smart <julian@anthemion.co.uk>
Date: Wed, 29 Sep 2004 17:53:43 +0000
Subject: [PATCH] Fixed case sensitivity

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/html/helpdata.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp
index 41d62f4543..5f9d39ea19 100644
--- a/src/html/helpdata.cpp
+++ b/src/html/helpdata.cpp
@@ -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();
 }
 
-- 
2.47.2