fix replace mode semicolon shortcut

This commit is contained in:
jacob1 2019-02-19 21:53:44 -05:00
parent 08cd32abbe
commit 16d686e949

View File

@ -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);
else
c->SetReplaceModeFlags(c->GetReplaceModeFlags()^REPLACE_MODE);
break;
}
default:
didKeyShortcut = false;
}