mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[SHELL32] Revert CDefView::FillFileMenu (#5278)
CORE-9467, CORE-18429, CORE-11797
This commit is contained in:
committed by
GitHub
parent
634415cace
commit
0fa4edebd9
@@ -1357,7 +1357,7 @@ HRESULT CDefView::FillFileMenu()
|
||||
m_pFileMenu.Release();
|
||||
}
|
||||
/* Store the context menu in m_pFileMenu and keep it in order to invoke the selected command later on */
|
||||
HRESULT hr = GetItemObject((m_cidl ? SVGIO_SELECTION : SVGIO_BACKGROUND), IID_PPV_ARG(IContextMenu, &m_pFileMenu));
|
||||
HRESULT hr = GetItemObject(SVGIO_SELECTION, IID_PPV_ARG(IContextMenu, &m_pFileMenu));
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
return hr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user