From 16d686e949175bb353590d62b99b11357c3cb6b6 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 19 Feb 2019 21:53:44 -0500 Subject: [PATCH] fix replace mode semicolon shortcut --- src/gui/game/GameView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index f6d48e99d..aedb7d2b5 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1633,10 +1633,10 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl, break; case SDL_SCANCODE_SEMICOLON: if (ctrl) - { c->SetReplaceModeFlags(c->GetReplaceModeFlags()^SPECIFIC_DELETE); - break; - } + else + c->SetReplaceModeFlags(c->GetReplaceModeFlags()^REPLACE_MODE); + break; default: didKeyShortcut = false; }