strcasecmp returns zero on a match.
This commit is contained in:
parent
bac71315d2
commit
d02075942a
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue