[Pkg-owncloud-commits] [owncloud-client] 139/164: shell_integration: Remove the incorrect usage of the MIIM_BITMAP flag

Sandro Knauß hefee-guest at moszumanska.debian.org
Sun Mar 22 11:57:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 60da0a15e6a8c7a32b63248e4a705218e20466e3
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Thu Mar 12 14:58:54 2015 +0100

    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.
---
 shell_integration/windows/OCContextMenu/OCContextMenu.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell_integration/windows/OCContextMenu/OCContextMenu.cpp b/shell_integration/windows/OCContextMenu/OCContextMenu.cpp
index 14cb1b6..43aede2 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];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list