steam_helper: Always pass CREATE_UNICODE_ENVIRONMENT to CreateProcess

According to Joshua Ashton, real steam.exe does this.
This commit is contained in:
Andrew Eikum 2020-03-04 11:04:39 -06:00
parent 68f982bd47
commit ef07eee01a

View file

@ -493,7 +493,7 @@ static HANDLE run_process(BOOL *should_await)
WCHAR *cmdline = GetCommandLineW();
STARTUPINFOW si = { sizeof(si) };
PROCESS_INFORMATION pi;
DWORD flags = 0;
DWORD flags = CREATE_UNICODE_ENVIRONMENT;
BOOL use_shell_execute = TRUE;
/* skip argv[0] */