Compile fix on Mac OS X (gcc 4.0.1)

This commit is contained in:
Kai Koehne
2010-02-16 10:02:02 +01:00
parent dbc7cdeee8
commit 98a0757916

View File

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