Navigation Menu

Skip to content

Commit

Permalink
fix replace mode semicolon shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Feb 20, 2019
1 parent 08cd32a commit 16d686e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/game/GameView.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 16d686e

Please sign in to comment.