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




commit 2dcb5b5a53bc2d19cdfe8b4c7d340fb4fe63ecd8
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]