mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 09:30:56 +00:00
ntdll: Prefer the ntdll path over argv[0] on platforms without reliable exe information.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54371
This commit is contained in:
parent
b6f58142f7
commit
8a6115f76f
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue