[SHELL32]

- CDefaultContextMenu: GetAttributesOf should only return the requested flags and not more. However our shell is not up to such nice behavior so don't depend o it for now.

svn path=/trunk/; revision=66980
This commit is contained in:
Giannis Adamopoulos 2015-03-30 13:04:48 +00:00
parent 405cd4a9c0
commit 0e91e9fc18

View file

@ -567,7 +567,7 @@ CDefaultContextMenu::BuildBackgroundContextMenu(
}
/* Directory is progid of filesystem folders only */
if (rfg == (SFGAO_FILESYSTEM|SFGAO_FOLDER))
if ((rfg & (SFGAO_FILESYSTEM|SFGAO_FOLDER)) == (SFGAO_FILESYSTEM|SFGAO_FOLDER))
{
/* Load context menu handlers */
TRACE("Add background handlers: %p\n", m_pidlFolder);