[Spice-devel] [PATCH] client: fix typo commnad=>command

Christophe Fergeau cfergeau at redhat.com
Tue Sep 20 05:52:36 PDT 2011


---
 client/application.cpp |    4 ++--
 client/application.h   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/client/application.cpp b/client/application.cpp
index 115f28b..decf8a1 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 de34488..db8d4e8 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);
-- 
1.7.6.2



More information about the Spice-devel mailing list