A -> W to align with existing codepaths

develop
Myk Taylor 2023-04-07 14:40:38 -07:00
parent 4d758589cb
commit 14bc22ff31
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -49,14 +49,14 @@ static LPCWSTR launch_via_steam_windows() {
// this method doesn't properly attribute Steam playtime metrics to DF,
// but that's better than not having DF start at all.
static BOOL launch_direct() {
STARTUPINFOA si;
STARTUPINFOW si;
PROCESS_INFORMATION pi;
ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);
ZeroMemory(&pi, sizeof(pi));
return CreateProcessA("Dwarf Fortress.exe",
return CreateProcessW(L"Dwarf Fortress.exe",
NULL, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
}