[Spice-devel] [PATCH spice 6/9] spicec-win: fix menu id push to free_sys_menu_id

Hans de Goede hdegoede at redhat.com
Sun Oct 17 14:00:30 PDT 2010


Ack.

On 10/17/2010 04:13 PM, Arnon Gilboa wrote:
> ---
>   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)


More information about the Spice-devel mailing list