mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[SHELL32] Fix menu item handling
This restores the 'properties' functionality on the desktop Bug found by Hervé Poussineau
This commit is contained in:
@@ -646,7 +646,7 @@ CDefaultContextMenu::QueryContextMenu(
|
||||
QCMINFO qcminfo = {hMenu, IndexMenu, idCmdNext, idCmdLast, NULL};
|
||||
if (SUCCEEDED(_DoCallback(DFM_MERGECONTEXTMENU, uFlags, &qcminfo)))
|
||||
{
|
||||
UINT added = idCmdNext - (idCmdFirst + cIds);
|
||||
UINT added = qcminfo.idCmdFirst - idCmdNext;
|
||||
cIds += added;
|
||||
IndexMenu += added;
|
||||
m_iIdCBFirst = m_iIdSHELast;
|
||||
|
||||
Reference in New Issue
Block a user