diff options
Diffstat (limited to 'kompare/libdiff2/diffparser.cpp')
-rw-r--r-- | kompare/libdiff2/diffparser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kompare/libdiff2/diffparser.cpp b/kompare/libdiff2/diffparser.cpp index b077ec20..d85256d2 100644 --- a/kompare/libdiff2/diffparser.cpp +++ b/kompare/libdiff2/diffparser.cpp @@ -49,27 +49,27 @@ enum Kompare::Format DiffParser::determineFormat() while( it != m_diffLines.end() ) { kdDebug(8101) << (*it) << endl; - if( (*it).tqfind( normalRE, 0 ) == 0 ) + if( (*it).find( normalRE, 0 ) == 0 ) { kdDebug(8101) << "Difflines are from a Normal diff..." << endl; return Kompare::Normal; } - else if( (*it).tqfind( unifiedRE, 0 ) == 0 ) + else if( (*it).find( unifiedRE, 0 ) == 0 ) { kdDebug(8101) << "Difflines are from a Unified diff..." << endl; return Kompare::Unified; } - else if( (*it).tqfind( contextRE, 0 ) == 0 ) + else if( (*it).find( contextRE, 0 ) == 0 ) { kdDebug(8101) << "Difflines are from a Context diff..." << endl; return Kompare::Context; } - else if( (*it).tqfind( rcsRE, 0 ) == 0 ) + else if( (*it).find( rcsRE, 0 ) == 0 ) { kdDebug(8101) << "Difflines are from an RCS diff..." << endl; return Kompare::RCS; } - else if( (*it).tqfind( edRE, 0 ) == 0 ) + else if( (*it).find( edRE, 0 ) == 0 ) { kdDebug(8101) << "Difflines are from an ED diff..." << endl; return Kompare::Ed; |