Fix missing KBD_JAPANESE condition

This commit is contained in:
Hiroshi Ota 2022-02-13 08:21:47 +09:00
parent 80cd8dcdc3
commit 18e8a67f75

View File

@ -105,7 +105,8 @@ BOOL freerdp_connect(freerdp* instance)
if (status)
status2 = freerdp_channels_pre_connect(instance->context->channels, instance);
if (settings->KeyboardLayout == KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002)
if (settings->KeyboardLayout == KBD_JAPANESE ||
settings->KeyboardLayout == KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002)
{
settings->KeyboardType = 7;
settings->KeyboardSubType = 2;