lsteamclient: Fix DOS path encoding

This commit is contained in:
Andrew Eikum 2018-10-22 07:52:30 -05:00
parent b658087a0a
commit 83b804f15e

View File

@ -45,7 +45,7 @@ uint32 steamclient_unix_path_to_dos_path(uint32 api_result, char *inout, uint32
return 0; return 0;
} }
r = WideCharToMultiByte(CP_ACP, 0, converted, -1, inout, inout_bytes, r = WideCharToMultiByte(CP_UNIXCP, 0, converted, -1, inout, inout_bytes,
NULL, NULL); NULL, NULL);
HeapFree(GetProcessHeap(), 0, converted); HeapFree(GetProcessHeap(), 0, converted);