summaryrefslogtreecommitdiff
path: root/src/gui/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/game')
-rw-r--r--src/gui/game/GameView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp
index 4f434ac..3dc677b 100644
--- a/src/gui/game/GameView.cpp
+++ b/src/gui/game/GameView.cpp
@@ -1487,10 +1487,10 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
break;
}
//fancy case switch without break
- case SDLK_INSERT:
+ case KEY_INSERT:
c->SetReplaceModeFlags(c->GetReplaceModeFlags()^REPLACE_MODE);
break;
- case SDLK_DELETE:
+ case KEY_DELETE:
c->SetReplaceModeFlags(c->GetReplaceModeFlags()^SPECIFIC_DELETE);
break;
}