mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-13 05:37:48 +02:00
lsteamclient: Fix DOS path encoding
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user