[pango/avoid-overlong-lines: 1/6] Cosmetics




commit 430f105d81ff4ba8e7dce73910c77459cfcb5b3f
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 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)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]