strcasecmp returns zero on a match.

This commit is contained in:
Duane Clark 2002-07-03 21:07:36 +00:00 committed by Alexandre Julliard
parent bac71315d2
commit d02075942a
1 changed files with 1 additions and 1 deletions

View File

@ -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];