Fix T56618: crash when typing certain characters on Linux.
This commit is contained in:
parent
e51f51d55d
commit
9492522db5
Notes:
blender-bot
2023-02-14 05:22:17 +01:00
Referenced by issue #56618, Crash when presing two times the ' key in a spanish keyboard
|
@ -1805,7 +1805,7 @@ ghost_key_from_keycode(const XkbDescPtr xkb_descr, const KeyCode keycode)
|
|||
#endif
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if (keycode != 0) {
|
||||
GHOST_ASSERT(false, "KeyCode out of range!");
|
||||
}
|
||||
return GHOST_kKeyUnknown;
|
||||
|
|
Loading…
Reference in New Issue