Fixed loop termination check in PathIsExeW.
This commit is contained in:
parent
ab17f304d1
commit
fa7ae72060
|
@ -336,7 +336,7 @@ static BOOL PathIsExeW (LPCWSTR lpszPath)
|
|||
|
||||
TRACE("path=%s\n",debugstr_w(lpszPath));
|
||||
|
||||
for(i=0; lpszExtensions[i]; i++)
|
||||
for(i=0; lpszExtensions[i][0]; i++)
|
||||
if (!strcmpiW(lpszExtension,lpszExtensions[i])) return TRUE;
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue