mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
steamclient: Use correct codepage for W -> A conversion.
At this point it's already windows path and it does not cross back to Linux side: Unix -> CP_UNIXCP -> dosW -> CP_ACP -> dosA.
This commit is contained in:
committed by
Andrew Eikum
parent
bd1e1c3005
commit
13c0570212
@@ -53,7 +53,7 @@ unsigned int steamclient_unix_path_to_dos_path(bool api_result, const char *src,
|
||||
return 0;
|
||||
}
|
||||
|
||||
r = WideCharToMultiByte(CP_UNIXCP, 0, dosW, -1, dst, dst_bytes,
|
||||
r = WideCharToMultiByte(CP_ACP, 0, dosW, -1, dst, dst_bytes,
|
||||
NULL, NULL);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, dosW);
|
||||
|
||||
Reference in New Issue
Block a user