summaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 6ca69243..298bb2d1 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -748,7 +748,7 @@ int UI::handle(int event)
if (event == KEY) {
return 0; // Receive as shortcut
} else if (event == SHORTCUT) {
- int cmd = Keys::getKeyCmd();
+ KeysCommand_t cmd = Keys::getKeyCmd();
if (cmd == KEYS_NOP) {
// Do nothing
} else if (cmd == KEYS_BACK) {