=?UTF-8?Q?Gabriel=20Iv=C4=83ncescu=20?=: kernel32/locale: Set whether we used the default char when using Unix codepage.
Alexandre Julliard
julliard at winehq.org
Wed Sep 4 16:01:38 CDT 2019
Module: wine
Branch: master
Commit: cf923114252207fe72ef9dab7020dec95b1b5a44
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cf923114252207fe72ef9dab7020dec95b1b5a44
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Wed Sep 4 17:27:23 2019 +0300
kernel32/locale: Set whether we used the default char when using Unix codepage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/locale.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index b546cb0..2698b3d 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -2726,6 +2726,7 @@ INT WINAPI WideCharToMultiByte( UINT page, DWORD flags, LPCWSTR src, INT srclen,
{
ret = wine_cp_wcstombs( unix_cptable, flags, src, srclen, dst, dstlen,
defchar, used ? &used_tmp : NULL );
+ if (used) *used = used_tmp;
break;
}
/* fall through */
More information about the wine-cvs
mailing list