Fix T94434: Windows IME Pinyin Forward Slash
Treat "/" as a key that should be evaluated by the Win IME system when the input language is Chinese. This fixes a duplication of the input character and results in the expected output of a Chinese wide comma. See D13771 for more details. Differential Revision: https://developer.blender.org/D13771 Reviewed by Brecht Van Lommel
This commit is contained in:
parent
1a27d20df3
commit
57bea57f5e
Notes:
blender-bot
2023-02-14 08:25:14 +01:00
Referenced by issue #94434, A happen appearing a letter "/、" not "、" when input "/" key with Microsoft PinYin. [Windows]
|
@ -106,7 +106,7 @@ bool GHOST_ImeWin32::IsImeKeyEvent(char ascii)
|
|||
if (IsLanguage(IMELANG_JAPANESE) && (ascii >= ' ' && ascii <= '~')) {
|
||||
return true;
|
||||
}
|
||||
else if (IsLanguage(IMELANG_CHINESE) && ascii && strchr("!\"$'(),.:;<>?[\\]^_`", ascii)) {
|
||||
else if (IsLanguage(IMELANG_CHINESE) && ascii && strchr("!\"$'(),.:;<>?[\\]^_`/", ascii)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue