Commit 776e2783 authored by Octavian Voicu's avatar Octavian Voicu Committed by Alexandre Julliard

shell32: Fix an incorrect pointer/integer cast on 64-bit and fix check for resource id.

parent c8cb13f9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment