Fixed loop termination check in PathIsExeW.

This commit is contained in:
Alexandre Julliard 2001-08-08 23:24:15 +00:00
parent ab17f304d1
commit fa7ae72060
1 changed files with 1 additions and 1 deletions

View File

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