summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-13 23:20:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-19 12:06:49 -0400
commitb446a49bbd374fb1fca7c0f0fea5fc73dd20f4c9 (patch)
tree7fae2e9528fbbf74f3a1ceac7818ebb51a75410e
parentbf302c0cdce001fe405a94beb8908a59e39c98fc (diff)
downloadpango-log-attr-language.tar.gz
Use the language we are givenlog-attr-language
pango_get_log_attrs was not using its language argument at all. Pass it into pango_default_break as part of the PangoAnalysis struct.
-rw-r--r--pango/break.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/break.c b/pango/break.c
index 58e039e5..9690d510 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1863,6 +1863,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);