client: fix typo commnad=>command

This commit is contained in:
Christophe Fergeau 2011-09-20 14:51:22 +02:00
parent 26e172e4be
commit 45ef140e23
2 changed files with 3 additions and 3 deletions

View File

@ -1232,7 +1232,7 @@ void Application::on_key_down(RedKey key)
}
if (!_sticky_info.sticky_mode) {
int command = get_hotkeys_commnad();
int command = get_hotkeys_command();
if (command != APP_CMD_INVALID) {
do_command(command);
return;
@ -1703,7 +1703,7 @@ bool Application::is_key_set_pressed(const HotkeySet& key_set)
return iter == key_set.end();
}
int Application::get_hotkeys_commnad()
int Application::get_hotkeys_command()
{
HotKeys::const_iterator iter = _hot_keys.begin();

View File

@ -321,7 +321,7 @@ private:
void send_hotkey_key_set(const HotkeySet& key_set);
void menu_item_callback(unsigned int item_id);
int get_menu_item_id(AppMenuItemType type, int32_t conn_ref, uint32_t ext_id);
int get_hotkeys_commnad();
int get_hotkeys_command();
bool is_key_set_pressed(const HotkeySet& key_set);
void do_on_key_up(RedKey key);
void __remove_key_handler(KeyHandler& handler);