From 1915632e068f04cbc6a88aa53e846a9e3a1322ab Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 8 May 2021 21:08:37 +0300 Subject: [PATCH] compose: add mapped locale to Compose-file-not-found error log Signed-off-by: Ran Benita --- src/compose/table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compose/table.c b/src/compose/table.c index 1691555..8a8d11f 100644 --- a/src/compose/table.c +++ b/src/compose/table.c @@ -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;