Fix T56618: crash when typing certain characters on Linux.
This commit is contained in:
@@ -1805,7 +1805,7 @@ ghost_key_from_keycode(const XkbDescPtr xkb_descr, const KeyCode keycode)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else if (keycode != 0) {
|
||||||
GHOST_ASSERT(false, "KeyCode out of range!");
|
GHOST_ASSERT(false, "KeyCode out of range!");
|
||||||
}
|
}
|
||||||
return GHOST_kKeyUnknown;
|
return GHOST_kKeyUnknown;
|
||||||
|
Reference in New Issue
Block a user