From 14bc22ff316b7efdac33f640ec2fa5283c958d27 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 7 Apr 2023 14:40:38 -0700 Subject: [PATCH] A -> W to align with existing codepaths --- package/windows/launchdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/windows/launchdf.c b/package/windows/launchdf.c index 6aea4e7d2..992bf6636 100644 --- a/package/windows/launchdf.c +++ b/package/windows/launchdf.c @@ -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); }