Tommy Kho wrote:
>This patch changes the behavior of selecting greyed out menu items via
>accelerator key. Wine currently keeps the menu open; Windows closes the menu.
> ...
>     else
>+    {
>       pmt->hCurrentMenu = MENU_ShowSubPopup(pmt->hOwnerWnd, hMenu, TRUE, 
> wFlags);
>+        return -1;
>+    }
>
>-    return -1;
>+    return -2;
> }

Err, isn't the return -2 at the bottom dead code now?
That seems wrong...
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv


Reply via email to