From 83b804f15e91e5648d4c667e1ed30c4cf92dd68c Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Mon, 22 Oct 2018 07:52:30 -0500 Subject: [PATCH] lsteamclient: Fix DOS path encoding --- lsteamclient/steamclient_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index edd08cc8..f1c5d682 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -45,7 +45,7 @@ uint32 steamclient_unix_path_to_dos_path(uint32 api_result, char *inout, uint32 return 0; } - r = WideCharToMultiByte(CP_ACP, 0, converted, -1, inout, inout_bytes, + r = WideCharToMultiByte(CP_UNIXCP, 0, converted, -1, inout, inout_bytes, NULL, NULL); HeapFree(GetProcessHeap(), 0, converted);