Commit fa7ae720 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed loop termination check in PathIsExeW.

parent ab17f304
...@@ -336,7 +336,7 @@ static BOOL PathIsExeW (LPCWSTR lpszPath) ...@@ -336,7 +336,7 @@ static BOOL PathIsExeW (LPCWSTR lpszPath)
TRACE("path=%s\n",debugstr_w(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; if (!strcmpiW(lpszExtension,lpszExtensions[i])) return TRUE;
return FALSE; return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment