Commit dcb6c7b8a416050c62efa39e7701f137c8a53b49

Peter Hutterer 2020-07-10T15:13:38

xkbcomp: return NULL, not false in place of a FILE* Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

1
2
3
4
5
6
7
8
9
10
11
12
13
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);