diff options
Diffstat (limited to 'kpackage/kpTerm.cpp')
-rw-r--r-- | kpackage/kpTerm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpackage/kpTerm.cpp b/kpackage/kpTerm.cpp index c91f1a2..b085296 100644 --- a/kpackage/kpTerm.cpp +++ b/kpackage/kpTerm.cpp @@ -111,13 +111,13 @@ void kpTerm::textIn(const TQString &stext, bool bNewLine) TQRegExp chrs("[\\010\\012\\015]"); TQString del = "\010"; // kdDebug() << "Tin=[" << stext << "]\n"; - if (stext.tqfind(chrs) < 0) { + if (stext.find(chrs) < 0) { insert( stext ); } else { int p; int op = 0; - while ((p = stext.tqfind(chrs,op)) >= 0) { + while ((p = stext.find(chrs,op)) >= 0) { if (p != op) { insert( stext.mid(op, p-op)); } |