Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2015-03-12 16:58:54 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2015-03-12 17:22:29 +0300
commit60da0a15e6a8c7a32b63248e4a705218e20466e3 (patch)
tree1e634a161ba1aa19145f83282c739f4b7a64a10d /shell_integration/windows
parent0f84510e6f022a54ccce2bae023c0698af453627 (diff)
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.
Diffstat (limited to 'shell_integration/windows')
-rw-r--r--shell_integration/windows/OCContextMenu/OCContextMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell_integration/windows/OCContextMenu/OCContextMenu.cpp b/shell_integration/windows/OCContextMenu/OCContextMenu.cpp
index 14cb1b65e..43aede242 100644
--- a/shell_integration/windows/OCContextMenu/OCContextMenu.cpp
+++ b/shell_integration/windows/OCContextMenu/OCContextMenu.cpp
@@ -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];