From dcb6c7b8a416050c62efa39e7701f137c8a53b49 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 10 Jul 2020 15:13:38 +1000 Subject: [PATCH] xkbcomp: return NULL, not false in place of a FILE* Signed-off-by: Peter Hutterer --- src/xkbcomp/include.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xkbcomp/include.c b/src/xkbcomp/include.c index 556b438..cf90384 100644 --- a/src/xkbcomp/include.c +++ b/src/xkbcomp/include.c @@ -267,7 +267,7 @@ ProcessIncludeFile(struct xkb_context *ctx, IncludeStmt *stmt, file = FindFileInXkbPath(ctx, stmt->file, file_type, NULL); if (!file) - return false; + return NULL; xkb_file = XkbParseFile(ctx, file, stmt->file, stmt->map); fclose(file); -- 2.7.4