[Spice-devel] [PATCH spice 6/9] spicec-win: fix menu id push to free_sys_menu_id
Arnon Gilboa
agilboa at redhat.com
Sun Oct 17 07:13:44 PDT 2010
---
client/windows/red_window.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/windows/red_window.cpp b/client/windows/red_window.cpp
index 4ca98fb..bab2d97 100644
--- a/client/windows/red_window.cpp
+++ b/client/windows/red_window.cpp
@@ -972,7 +972,7 @@ static int alloc_sys_cmd_id()
static void free_sys_cmd_id(int id)
{
- free_sys_menu_id.push_back(id >> 4);
+ free_sys_menu_id.push_back(id);
}
static void insert_menu(Menu* menu, HMENU native, CommandMap& _commands_map)
--
1.5.5.6
More information about the Spice-devel
mailing list