projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4b78a5
)
xkbcomp: return NULL, not false in place of a FILE*
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 10 Jul 2020 05:13:38 +0000
(15:13 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 13 Jul 2020 08:41:00 +0000
(18:41 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/xkbcomp/include.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/include.c
b/src/xkbcomp/include.c
index
556b438
..
cf90384
100644
(file)
--- 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);