Merge pull request #2901 from volth/patch-1

Fixed crash when unused Japanese keys are pressed.
This commit is contained in:
Marc-André Moreau 2015-10-05 08:40:34 -04:00
commit 8ffb7babe9

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+");