mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
[SHELL32] Fix using the wrong context menu
This commit is contained in:
parent
dac807e237
commit
b448fbdf59
1 changed files with 1 additions and 1 deletions
|
@ -1517,7 +1517,7 @@ HRESULT CDefView::InvokeContextMenuCommand(CComPtr<IContextMenu> &pCM, UINT uCom
|
||||||
cmi.ptInvoke = *pt;
|
cmi.ptInvoke = *pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT hr = m_pCM->InvokeCommand((LPCMINVOKECOMMANDINFO)&cmi);
|
HRESULT hr = pCM->InvokeCommand((LPCMINVOKECOMMANDINFO)&cmi);
|
||||||
// Most of our callers will do this, but in case they don't do that (File menu!)
|
// Most of our callers will do this, but in case they don't do that (File menu!)
|
||||||
IUnknown_SetSite(pCM, NULL);
|
IUnknown_SetSite(pCM, NULL);
|
||||||
pCM.Release();
|
pCM.Release();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue