Author: gadamopoulos
Date: Tue Aug 15 23:02:45 2017
New Revision: 75561
URL:
http://svn.reactos.org/svn/reactos?rev=75561&view=rev
Log:
[SHLWAPI] -Addendum to 75533. Pass the id offset to IContextMenu::InvokeCommand. Fixes
launching applications from the start menu. CORE-13680
Modified:
trunk/reactos/dll/win32/shlwapi/ordinal.c
Modified: trunk/reactos/dll/win32/shlwapi/ordinal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shlwapi/ordinal.…
==============================================================================
--- trunk/reactos/dll/win32/shlwapi/ordinal.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shlwapi/ordinal.c [iso-8859-1] Tue Aug 15 23:02:45 2017
@@ -3501,7 +3501,7 @@
cmIci.cbSize = sizeof(cmIci);
cmIci.fMask = CMIC_MASK_ASYNCOK;
cmIci.hwnd = hWnd;
- cmIci.lpVerb = MAKEINTRESOURCEA(dwCommandId);
+ cmIci.lpVerb = MAKEINTRESOURCEA(dwCommandId - 1);
cmIci.nShow = SW_SHOWNORMAL;
hRet = IContextMenu_InvokeCommand(iContext, &cmIci);