Commit 5d8c7317 authored by Kevin Kofler's avatar Kevin Kofler

Kompare: Fix nonsensical tab expansion formula introduced by commit 1026032.

BUG: 251025
FIXED-IN: 4.8.1

svn path=/trunk/KDE/kdesdk/kompare/; revision=1278831
parent eff97054
......@@ -894,7 +894,7 @@ void KompareListViewLineItem::expandTabs(QString& text, int tabstop, int startPo
{
int index;
while((index = text.indexOf(QChar(9)))!= -1)
text.replace(index, 1, QString(tabstop-((startPos+index)%4),' '));
text.replace(index, 1, QString(tabstop-((startPos+index)%tabstop),' '));
}
KompareListViewDiffItem* KompareListViewLineItem::diffItemParent() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment