Commit 8a6115f7 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Prefer the ntdll path over argv[0] on platforms without reliable exe information.

parent b6f58142
......@@ -640,8 +640,6 @@ static void init_paths( char *argv[] )
bin_dir = realpath_dirname( path );
free( path );
}
#else
bin_dir = realpath_dirname( argv[0] );
#endif
if (!bin_dir) bin_dir = build_path( dll_dir, DLL_TO_BINDIR );
data_dir = build_path( bin_dir, BIN_TO_DATADIR );
......
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