From d75d8d25b56183f5e65b03c3d20533cc4c7b3782 Mon Sep 17 00:00:00 2001 From: corvid Date: Fri, 5 Jun 2009 00:57:13 +0000 Subject: KeysCommand_t This should make it easier for the casual reader to tell what's what in keys.cc. --- src/ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.cc') 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) { -- cgit v1.2.3