Merge pull request #2901 from volth/patch-1
Fixed crash when unused Japanese keys are pressed.
This commit is contained in:
commit
8ffb7babe9
@ -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+");
|
||||
|
Loading…
Reference in New Issue
Block a user