summaryrefslogtreecommitdiffstats
path: root/kiten/dict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kiten/dict.cpp')
-rw-r--r--kiten/dict.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiten/dict.cpp b/kiten/dict.cpp
index 7d01fbd2..90af2878 100644
--- a/kiten/dict.cpp
+++ b/kiten/dict.cpp
@@ -342,7 +342,7 @@ SearchResult Index::scanResults(TQRegExp regexp, TQStringList results, bool comm
if (found >= 0)
{
++fullNum;
- if ((*itr).tqfind(TQString("(P)")) >= 0 || !common)
+ if ((*itr).find(TQString("(P)")) >= 0 || !common)
{
// we append HERE, so we get the exact
// results we have in ret.list
@@ -398,7 +398,7 @@ SearchResult Index::scanKanjiResults(TQRegExp regexp, TQStringList results, bool
++fullNum;
// common entries have G[1-8] (jouyou)
TQRegExp comregexp(jmyCount ? "G[1-9]" : "G[1-8]");
- if ((*itr).tqfind(comregexp) >= 0 || !common)
+ if ((*itr).find(comregexp) >= 0 || !common)
{
ret.list.append(kanjiParse(*itr));
++num;