[pango/avoid-overlong-lines: 5/6] Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/avoid-overlong-lines: 5/6] Cosmetics
- Date: Fri, 12 Nov 2021 01:01:28 +0000 (UTC)
commit 1ea373851f9502702823ba373a5eb1c578058d6e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 11 19:52:50 2021 -0500
Cosmetics
pango/pango-layout.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index c74e356a..35e9ba62 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]