summaryrefslogtreecommitdiffstats
path: root/kompare/libdiff2/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdiff2/parser.cpp')
-rw-r--r--kompare/libdiff2/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kompare/libdiff2/parser.cpp b/kompare/libdiff2/parser.cpp
index 1e3efc8a..67386508 100644
--- a/kompare/libdiff2/parser.cpp
+++ b/kompare/libdiff2/parser.cpp
@@ -50,7 +50,7 @@ int Parser::cleanUpCrap( TQStringList& diffLines )
// correcting the advance of the iterator because of the remove
--it;
TQString temp( *it );
- temp.truncate( temp.find( '\n' ) );
+ temp.truncate( temp.tqfind( '\n' ) );
*it = temp;
++nol;
}