Commit 98a07579 authored by Kai Koehne's avatar Kai Koehne
Browse files

Compile fix on Mac OS X (gcc 4.0.1)

parent dbc7cdee
......@@ -2016,7 +2016,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(int key, int,
if (col <= ind.logical && col && startsWithWhitespace(data, col)) {
const int ts = config(ConfigTabStop).toInt();
const int newcol = col - 1 - (col - 1) % ts;
setLineContents(line, tabExpand(newcol) + data.midRef(col));
setLineContents(line, tabExpand(newcol).append(data.midRef(col)));
m_lastInsertion.clear(); // FIXME
} else {
m_tc.deletePreviousChar();
......
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