diff options
Diffstat (limited to 'src/kchmsearchengine.cpp')
-rw-r--r-- | src/kchmsearchengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmsearchengine.cpp b/src/kchmsearchengine.cpp index cf79e2b..a5f0a11 100644 --- a/src/kchmsearchengine.cpp +++ b/src/kchmsearchengine.cpp @@ -218,14 +218,14 @@ bool KCHMSearchEngine::searchQuery( const TQString & query, TQStringList * resul } // If new char does not stop the word, add ot and continue - if ( ch.isLetterOrNumber() || partOfWordChars.tqfind( ch ) != -1 ) + if ( ch.isLetterOrNumber() || partOfWordChars.find( ch ) != -1 ) { term.append( ch ); continue; } // If it is a split char, add this term and split char as separate term - if ( splitChars.tqfind( ch ) != -1 ) + if ( splitChars.find( ch ) != -1 ) { // Add existing term if present keeper.addTerm( term ); |