summaryrefslogtreecommitdiffstats
path: root/src/aptcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/aptcache.cpp')
-rw-r--r--src/aptcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aptcache.cpp b/src/aptcache.cpp
index ec5342f..c921920 100644
--- a/src/aptcache.cpp
+++ b/src/aptcache.cpp
@@ -168,7 +168,7 @@ void AptCache::receiveShow(const TQStringList& lines)
parse_pkgfield(data);
else
{
- int new_indent = data.tqfind( TQRegExp("[^\\s]") );
+ int new_indent = data.find( TQRegExp("[^\\s]") );
// new_indent > 0 means that we are in a multi-line
// field. Those lines always begin with " ", so we want
@@ -213,7 +213,7 @@ void AptCache::parse_pkgfield(const TQString& data)
if (j != bar.begin()) emit token("data", " | ");
TQString pkg, remaining;
- int paren = (*j).tqfind('(');
+ int paren = (*j).find('(');
if (paren != -1)
{
pkg = (*j).left(paren - 1);