summaryrefslogtreecommitdiffstats
path: root/kate/part/test_regression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/test_regression.cpp')
-rw-r--r--kate/part/test_regression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/test_regression.cpp b/kate/part/test_regression.cpp
index 9a2e88548..b20328c72 100644
--- a/kate/part/test_regression.cpp
+++ b/kate/part/test_regression.cpp
@@ -869,7 +869,7 @@ static TQString makeRelativePath(const TQString &base, const TQString &path)
int pos = 0;
do {
pos++;
- int newpos = absBase.tqfind('/', pos);
+ int newpos = absBase.find('/', pos);
if (newpos == -1) newpos = absBase.length();
TQConstString cmpPathComp(absPath.tqunicode() + pos, newpos - pos);
TQConstString cmpBaseComp(absBase.tqunicode() + pos, newpos - pos);