Commit d0207594 authored by Duane Clark's avatar Duane Clark Committed by Alexandre Julliard

strcasecmp returns zero on a match.

parent bac71315
......@@ -1032,7 +1032,7 @@ BOOL WINAPI ShellExecuteExA (LPSHELLEXECUTEINFOA sei)
{
BOOL failed = TRUE;
if ((!sei->lpVerb)||(strcasecmp(sei->lpVerb,"open")))
if ((!sei->lpVerb)||(!strcasecmp(sei->lpVerb,"open")))
{
LPSTR ext = PathFindExtensionA(szApplicationName);
CHAR key[1023];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment