Update xf_keyboard.c

With Japanese physical keyboard and English layout, pressing the extra keys can cause FreeRDP crash.
This commit is contained in:
volth
2015-09-23 18:40:34 +00:00
parent 62da9d28c6
commit 2b7681da85

View File

@@ -381,6 +381,10 @@ int xf_keyboard_execute_action_script(xfContext* xfc, XF_MODIFIER_KEYS* mod, Key
}
keyStr = XKeysymToString(keysym);
if (keyStr == 0)
{
return 1;
}
if (mod->Shift)
strcat(combination, "Shift+");