summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index e46ae21..a443025 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -516,7 +516,7 @@ void GameView::OnKeyRelease(int key, Uint16 character, bool shift, bool ctrl, bo
drawMode = DrawPoints;
else
drawModeReset = true;
- switch(character)
+ switch(key)
{
case 'z':
if(!zoomCursorFixed)