Merge pull request #1067 from mfleisz/kbdwinfix
locale: Fix compile error on Windows
This commit is contained in:
commit
1d5512d5c4
@ -47,8 +47,10 @@ DWORD X11_KEYCODE_TO_VIRTUAL_SCANCODE[256];
|
||||
|
||||
int freerdp_detect_keyboard(DWORD* keyboardLayoutId)
|
||||
{
|
||||
#if defined(WITH_X11)
|
||||
if (*keyboardLayoutId == 0)
|
||||
freerdp_detect_keyboard_layout_from_xkb(keyboardLayoutId);
|
||||
#endif
|
||||
|
||||
if (*keyboardLayoutId == 0)
|
||||
freerdp_detect_keyboard_layout_from_system_locale(keyboardLayoutId);
|
||||
|
Loading…
Reference in New Issue
Block a user