From 45ef140e23976c5cf4349cf4ae5b40486164d485 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 20 Sep 2011 14:51:22 +0200 Subject: client: fix typo commnad=>command --- client/application.cpp | 4 ++-- client/application.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/application.cpp b/client/application.cpp index 115f28bf..decf8a19 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -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(); diff --git a/client/application.h b/client/application.h index de344886..db8d4e80 100644 --- a/client/application.h +++ b/client/application.h @@ -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); -- cgit