shell_integration: Remove the incorrect usage of the MIIM_BITMAP flag

This flag should only be specified if the hbmpItem member of the
MENUITEMINFO has been set.
This commit is contained in:
Jocelyn Turcotte 2015-03-12 14:58:54 +01:00
parent 0f84510e6f
commit 60da0a15e6

View file

@ -168,7 +168,7 @@ IFACEMETHODIMP OCContextMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT
assert(!info.shareMenuTitle.empty());
MENUITEMINFO mii = { sizeof(mii) };
mii.fMask = MIIM_BITMAP | MIIM_STRING | MIIM_FTYPE | MIIM_ID | MIIM_STATE;
mii.fMask = MIIM_STRING | MIIM_FTYPE | MIIM_ID | MIIM_STATE;
mii.wID = idCmdFirst + IDM_SHARE;
mii.fType = MFT_STRING;
mii.dwTypeData = &info.shareMenuTitle[0];