diff options
author | hjk <qtc-committer@nokia.com> | 2011-02-23 15:28:39 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2011-02-23 17:38:26 +0100 |
commit | 7a35865c500df696e3e461182c95b900ab9466be (patch) | |
tree | 2297bee0e24c35f7ded700417d5b42b92f2c2864 /src/plugins/fakevim | |
parent | 2e59bc9a669d429373933dcf4e207b67fdcdcf7f (diff) | |
download | qt-creator-7a35865c500df696e3e461182c95b900ab9466be.tar.gz |
fix a few krazy warnings
Diffstat (limited to 'src/plugins/fakevim')
-rw-r--r-- | src/plugins/fakevim/fakevimhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index 2b4d9b6495..c9fbaff8ea 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -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() |