Skip to content
Snippets Groups Projects
Commit fa7ae720 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Fixed loop termination check in PathIsExeW.

parent ab17f304
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment