diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-13 23:20:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-13 23:20:47 -0400 |
commit | 010e2c4eaf660a178e807c356a82ce9e8ec543f3 (patch) | |
tree | 67e0851ca576993609c00146b56b7e46d42196bc | |
parent | c489cf77e64edc55bb583dc05352f3e24f0ae72c (diff) | |
download | pango-010e2c4eaf660a178e807c356a82ce9e8ec543f3.tar.gz |
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.
-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 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); |