diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-12 18:31:09 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-12 18:41:44 -0500 |
commit | 9b95dc725c3ebbed22edbe035c9ac0d610c64a30 (patch) | |
tree | dd5f0f5b75741a60b74854eaa62a500ce6507716 | |
parent | d98a4c78c5a57e2dd2d888f489971d8221e4d104 (diff) | |
download | pango-9b95dc725c3ebbed22edbe035c9ac0d610c64a30.tar.gz |
Fix a thinkoltr-line-breaking-fixes
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index c94617aa..5cdaa531 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3766,7 +3766,7 @@ find_break_extra_width (PangoLayout *layout, else return state->hyphen_width; } - else if (state->start_offset + pos > 0 && + else if (pos > 0 && layout->log_attrs[state->start_offset + pos - 1].is_white) { return - state->log_widths[state->log_widths_offset + pos - 1]; |