aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-06-05 00:57:13 +0000
committercorvid <corvid@lavabit.com>2009-06-05 00:57:13 +0000
commitd75d8d25b56183f5e65b03c3d20533cc4c7b3782 (patch)
tree074c17cc7e66c6c4baa3e4c58eb9503a9946803e /src/ui.cc
parent03949fea7859bb716ea4389fcf253d04a1b6c6fc (diff)
KeysCommand_t
This should make it easier for the casual reader to tell what's what in keys.cc.
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) {