summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-07-10 15:13:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-07-13 18:41:00 +1000
commitdcb6c7b8a416050c62efa39e7701f137c8a53b49 (patch)
tree3d02bce0ad23b543818a3dac6d0eaed3e7dc5016 /src
parentd4b78a5fca47c27aac4cea0220ad595c3312807f (diff)
downloadxorg-lib-libxkbcommon-dcb6c7b8a416050c62efa39e7701f137c8a53b49.tar.gz
xkbcomp: return NULL, not false in place of a FILE*
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/xkbcomp/include.c2
1 files changed, 1 insertions, 1 deletions
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);