[SHELL32]

- Fix check for GCS_VALIDATE in CDefaultContextMenu::GetCommandString. Patch by Jared Smudde.
CORE-11183

svn path=/trunk/; revision=71291
This commit is contained in:
Thomas Faber 2016-05-09 07:22:59 +00:00
parent d923444b3c
commit 7c3631a94b

View file

@ -1790,7 +1790,7 @@ CDefaultContextMenu::GetCommandString(
if (g_StaticInvokeCmdMap[i].IntVerb == idCommand)
{
/* Validation just returns S_OK on a match */
if (uFlags == GCS_VALIDATEA || uFlags == GCS_VALIDATEA)
if (uFlags == GCS_VALIDATEA || uFlags == GCS_VALIDATEW)
return S_OK;
/* Return a copy of the ANSI verb */