https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ab5aff5948f6f7a8d85cf…
commit ab5aff5948f6f7a8d85cf02d975217b44fdf89b8
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Mar 28 10:00:22 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Mar 28 10:00:22 2023 +0900
[KERNEL32] Follow-up of #5200 (5d1ae45)
Add "Voiced Iteration Marks" to convert.
CORE-11700
---
dll/win32/kernel32/winnls/string/lang.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dll/win32/kernel32/winnls/string/lang.c
b/dll/win32/kernel32/winnls/string/lang.c
index c976310596a..a22eacf8cff 100644
--- a/dll/win32/kernel32/winnls/string/lang.c
+++ b/dll/win32/kernel32/winnls/string/lang.c
@@ -2018,9 +2018,10 @@ INT WINAPI LCMapStringEx(LPCWSTR name, DWORD flags, LPCWSTR src,
INT srclen, LPW
* U+3041 ... U+3093: Hiragana
* U+3095: Hiragana Letter Small KA
* U+309D: Hiragana Iteration Mark
+ * U+309E: Hiragana Voiced Iteration Mark
*/
WCHAR wch = *dst_ptr;
- if ((0x3041 <= wch && wch <= 0x3093) || wch == 0x3095 || wch ==
0x309D)
+ if ((0x3041 <= wch && wch <= 0x3093) || wch == 0x3095 || wch ==
0x309D || wch == 0x309E)
*dst_ptr = wch + 0x60; /* Hiragana to Katanaka */
}
}
@@ -2033,9 +2034,10 @@ INT WINAPI LCMapStringEx(LPCWSTR name, DWORD flags, LPCWSTR src,
INT srclen, LPW
* U+30A1 ... U+30F3: Katakana
* U+30F5: Katakana Letter Small KA
* U+30FD: Katakana Iteration Mark
+ * U+30FE: Katakana Voiced Iteration Mark
*/
WCHAR wch = *dst_ptr;
- if ((0x30A1 <= wch && wch <= 0x30F3) || wch == 0x30F5 || wch ==
0x30FD)
+ if ((0x30A1 <= wch && wch <= 0x30F3) || wch == 0x30F5 || wch ==
0x30FD || wch == 0x30FE)
*dst_ptr = wch - 0x60; /* Katanaka to Hiragana */
}
}