diff options
Diffstat (limited to 'src/difftextwindow.cpp')
-rw-r--r-- | src/difftextwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp index 93a3770..3c570e4 100644 --- a/src/difftextwindow.cpp +++ b/src/difftextwindow.cpp @@ -1250,7 +1250,7 @@ bool DiffTextWindow::findString( const TQString& s, int& d3vLine, int& posInLine TQString line = d->getString( it ); if ( !line.isEmpty() ) { - int pos = line.tqfind( s, startPos, bCaseSensitive ); + int pos = line.find( s, startPos, bCaseSensitive ); if ( pos != -1 ) { d3vLine = it; @@ -1427,7 +1427,7 @@ int wordWrap( const TQString& origLine, int nofColumns, Diff3WrapLine* pDiff3Wra } else { - int wsPos = max2( origLine.tqfindRev( ' ', wrapPos ), origLine.tqfindRev( '\t', wrapPos ) ); + int wsPos = max2( origLine.findRev( ' ', wrapPos ), origLine.findRev( '\t', wrapPos ) ); if ( wsPos > pos ) { |