From 010e2c4eaf660a178e807c356a82ce9e8ec543f3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 13 Jul 2019 23:20:47 -0400 Subject: Use the language we are given pango_get_log_attrs was not using its language argument at all. Pass it into pango_default_break as part of the PangoAnalysis struct. --- pango/break.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pango/break.c b/pango/break.c index 11a1e34a..d598eeff 100644 --- a/pango/break.c +++ b/pango/break.c @@ -1788,6 +1788,7 @@ pango_get_log_attrs (const char *text, g_return_if_fail (log_attrs != NULL); analysis.level = level; + analysis.language = language; pango_default_break (text, length, &analysis, log_attrs, attrs_len); -- cgit v1.2.1