diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-13 23:20:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-19 12:06:49 -0400 |
commit | b446a49bbd374fb1fca7c0f0fea5fc73dd20f4c9 (patch) | |
tree | 7fae2e9528fbbf74f3a1ceac7818ebb51a75410e /pango/break.c | |
parent | bf302c0cdce001fe405a94beb8908a59e39c98fc (diff) | |
download | pango-b446a49bbd374fb1fca7c0f0fea5fc73dd20f4c9.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.
Diffstat (limited to 'pango/break.c')
-rw-r--r-- | pango/break.c | 1 |
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); |