summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r--src/searchindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index 02671e6..98f2109 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -105,8 +105,8 @@ void SearchIndex::addWord(const char *word,bool hiPriority)
//printf("SearchIndex::addWord(%s,%d)\n",word,hiPriority);
//QString wStr=QString(word).lower();
QString wStr(word);
- wStr=wStr.lower();
if (wStr.isEmpty()) return;
+ wStr=wStr.lower();
IndexWord *w = m_words[wStr];
if (w==0)
{