fix a few krazy warnings

This commit is contained in:
hjk
2011-02-23 15:28:39 +01:00
parent 2e59bc9a66
commit 7a35865c50
3 changed files with 6 additions and 6 deletions

View File

@@ -2774,7 +2774,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
} else if (input.isReturn()) {
m_submode = NoSubMode;
insertText(Register("\n"));
m_lastInsertion += "\n";
m_lastInsertion += '\n';
insertAutomaticIndentation(true);
setTargetColumn();
} else if (input.isBackspace()) {
@@ -2974,7 +2974,7 @@ EventResult FakeVimHandler::Private::handleSearchSubSubMode(const Input &input)
sd.highlightMatches = true;
search(sd);
}
finishMovement(m_commandPrefix + needle + "\n");
finishMovement(m_commandPrefix + needle + '\n');
}
enterCommandMode();
highlightMatches(needle);
@@ -4613,7 +4613,7 @@ void FakeVimHandler::Private::enterExMode()
m_mode = ExMode;
m_submode = NoSubMode;
m_subsubmode = NoSubSubMode;
m_commandPrefix = ":";
m_commandPrefix = ':';
}
void FakeVimHandler::Private::recordJump()