summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-11 19:52:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-11 20:23:47 -0500
commit430f105d81ff4ba8e7dce73910c77459cfcb5b3f (patch)
tree7b61853b8534f1ba41ee471c9717f8cb8c2932d1
parent907b6e21fcb846995cc5b03d2cb1b68fbbc2a2b5 (diff)
downloadpango-430f105d81ff4ba8e7dce73910c77459cfcb5b3f.tar.gz
Cosmetics
-rw-r--r--pango/pango-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 1a460d4c..7731532c 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3943,9 +3943,9 @@ process_item (PangoLayout *layout,
* the cluster here. But should be fine in practice. */
if (break_num_chars > 0 && break_num_chars < item->num_chars &&
layout->log_attrs[state->start_offset + break_num_chars - 1].is_white)
- {
+ {
break_width -= state->log_widths[state->log_widths_offset + break_num_chars - 1];
- }
+ }
if (layout->wrap == PANGO_WRAP_WORD_CHAR && force_fit && break_width + break_extra_width > state->remaining_width && !retrying_with_char_breaks)
{