[PATCH] crypt32: Avoid truncating unicode chars.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Nov 17 12:57:08 CST 2021
So that strings containing Cyrillic Capital Letter ER (0x420) won't be
quoted when not needed.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
dlls/crypt32/str.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c
index 0ab4c7c6e85..0e75a674b55 100644
--- a/dlls/crypt32/str.c
+++ b/dlls/crypt32/str.c
@@ -156,7 +156,7 @@ DWORD WINAPI CertRDNValueToStrW(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue,
return ret;
}
-static inline BOOL is_quotable_char(char c)
+static inline BOOL is_quotable_char(WCHAR c)
{
switch(c)
{
--
2.33.1
More information about the wine-devel
mailing list