compose/parser: use parameter as intended

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2014-10-13 15:05:48 +03:00
parent 8bba4b34ec
commit 0b99c63cf4
1 changed files with 1 additions and 1 deletions

View File

@ -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));