compose/parser: use parameter as intended
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
8bba4b34ec
commit
0b99c63cf4
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue