mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 21:23:00 +00:00
[SHELL32] Fix menu item handling
This restores the 'properties' functionality on the desktop Bug found by Hervé Poussineau
This commit is contained in:
parent
7b33915adc
commit
5bd86b8487
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue