Module: wine Branch: master Commit: 776e27834d97eb6886e855fd5c90585eafdcf83f URL: http://source.winehq.org/git/wine.git/?a=commit;h=776e27834d97eb6886e855fd5c...
Author: Octavian Voicu octavian.voicu@gmail.com Date: Thu Sep 1 18:10:05 2011 +0300
shell32: Fix an incorrect pointer/integer cast on 64-bit and fix check for resource id.
---
dlls/shell32/recyclebin.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c index 39b662a..eec9e00 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -238,9 +238,9 @@ static HRESULT WINAPI RecycleBinMenu_InvokeCommand(IContextMenu2 *iface, { RecycleBinMenu *This = impl_from_IContextMenu2(iface); LPCSTR verb = pici->lpVerb; - if(!HIWORD(verb)) + if(IS_INTRESOURCE(verb)) { - switch((UINT)verb) + switch(LOWORD(verb)) { case IDM_RECYCLEBIN_ERASE: DoErase(This);