Version: 3.2 (using KDE KDE 3.1.3) Installed from: SuSE RPMs Compiler: gcc 2.95.3 OS: Linux Even if the files are diferent and the diferences are shown, when I select "Swap Source with Destination" I always get: "The files are identical" :(
Thei is CVS HEAD
Subject: kdesdk/kompare/libdiff2 CVS commit by bruggie: Fixed bug 68570, it needed temp vars... CCMAIL: 68570-done@bugs.kde.org M +4 -2 komparemodellist.cpp 1.43 --- kdesdk/kompare/libdiff2/komparemodellist.cpp #1.42:1.43 @@ -1000,8 +1000,10 @@ void KompareModelList::clear() void KompareModelList::swap() { + QString source = m_source; + QString destination = m_destination; if ( m_info->mode == Kompare::ComparingFiles ) - compareFiles( m_destination, m_source ); + compareFiles( destination, source ); else if ( m_info->mode == Kompare::ComparingDirs ) - compareDirs( m_destination, m_source ); + compareDirs( destination, source ); }