https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0fa4edebd9125b9ca7a4256edbea7675e2152c7e
commit 0fa4edebd9125b9ca7a4256edbea7675e2152c7e Author: Katayama Hirofumi MZ <[email protected]> AuthorDate: Tue May 23 17:38:12 2023 +0900 Commit: GitHub <[email protected]> CommitDate: Tue May 23 17:38:12 2023 +0900 [SHELL32] Revert CDefView::FillFileMenu (#5278) CORE-9467, CORE-18429, CORE-11797 --- dll/win32/shell32/CDefView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/shell32/CDefView.cpp b/dll/win32/shell32/CDefView.cpp index 7cf9160df58..880afa6e457 100644 --- a/dll/win32/shell32/CDefView.cpp +++ b/dll/win32/shell32/CDefView.cpp @@ -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;
