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:
8bba4b3
)
compose/parser: use parameter as intended
author
Ran Benita
<ran234@gmail.com>
Mon, 13 Oct 2014 12:05:48 +0000
(15:05 +0300)
committer
Ran Benita
<ran234@gmail.com>
Mon, 13 Oct 2014 15:54:58 +0000
(18:54 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/compose/parser.c
patch
|
blob
|
history
diff --git
a/src/compose/parser.c
b/src/compose/parser.c
index
42c9d2a
..
1e9d137
100644
(file)
--- a/
src/compose/parser.c
+++ b/
src/compose/parser.c
@@
-470,7
+470,7
@@
do_include(struct xkb_compose_table *table, struct scanner *s,
return false;
}
- file = fopen(
s->buf
, "r");
+ file = fopen(
path
, "r");
if (!file) {
scanner_err(s, "failed to open included Compose file \"%s\": %s",
path, strerror(errno));