compose: add mapped locale to Compose-file-not-found error log

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Ran Benita 2021-05-08 21:08:37 +03:00
parent 13ba9135c0
commit 1915632e06
1 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,8 @@ xkb_compose_table_new_from_locale(struct xkb_context *ctx,
}
free(path);
log_err(ctx, "couldn't find a Compose file for locale \"%s\"\n", locale);
log_err(ctx, "couldn't find a Compose file for locale \"%s\" (mapped to \"%s\")\n",
locale, table->locale);
xkb_compose_table_unref(table);
return NULL;