diff options
Diffstat (limited to 'src/xkbcomp/keycodes.c')
-rw-r--r-- | src/xkbcomp/keycodes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xkbcomp/keycodes.c b/src/xkbcomp/keycodes.c index 91471ea..0655447 100644 --- a/src/xkbcomp/keycodes.c +++ b/src/xkbcomp/keycodes.c @@ -339,6 +339,9 @@ HandleIncludeKeycodes(KeyNamesInfo *info, IncludeStmt *include) { KeyNamesInfo included; + if (!include) + return false; + InitKeyNamesInfo(&included, info->ctx); included.name = include->stmt; include->stmt = NULL; |