Author: tfaber
Date: Mon May 9 07:22:59 2016
New Revision: 71291
URL:
http://svn.reactos.org/svn/reactos?rev=71291&view=rev
Log:
[SHELL32]
- Fix check for GCS_VALIDATE in CDefaultContextMenu::GetCommandString. Patch by Jared
Smudde.
CORE-11183
Modified:
trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefault…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] Mon May 9
07:22:59 2016
@@ -1790,7 +1790,7 @@
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 */