Commit efb290b2 authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

Initialize file_exists to 0 at exe load test, prevents mistaking of

UTF-8 encoded exenames as builtins.
parent ec34a666
......@@ -161,6 +161,7 @@ static void *open_builtin_exe_file( const WCHAR *name, char *error, int error_si
WCHAR *p;
UINT i, len;
*file_exists = 0;
if ((p = strrchrW( name, '/' ))) name = p + 1;
if ((p = strrchrW( name, '\\' ))) name = p + 1;
......
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