mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 21:50:37 +00:00
winevdm: Don't give up if we can't shorten the current directory.
This commit is contained in:
parent
718a924f5b
commit
42c1b06a13
@ -165,7 +165,7 @@ static void start_dosbox( const char *appname, const char *args )
|
||||
if (!GetTempFileNameW( path, cfgW, 0, config )) return;
|
||||
if (!GetCurrentDirectoryW( MAX_PATH, path )) return;
|
||||
if (!GetShortPathNameA( appname, app, MAX_PATH )) return;
|
||||
if (!GetShortPathNameW( path, path, MAX_PATH )) return;
|
||||
GetShortPathNameW( path, path, MAX_PATH );
|
||||
file = CreateFileW( config, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, 0 );
|
||||
if (file == INVALID_HANDLE_VALUE) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user