[pango/more-test-coverage: 3/8] layout: Explicitly initialize single_paragraph




commit 2170741092415daa54b892c2899536218ad46693
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 5 22:41:51 2021 -0400

    layout: Explicitly initialize single_paragraph
    
    This makes it obvious what the initial value is.

 pango/pango-layout.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index f9d4cba1..f6ce8ad6 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -201,6 +201,7 @@ pango_layout_init (PangoLayout *layout)
   layout->alignment = PANGO_ALIGN_LEFT;
   layout->justify = FALSE;
   layout->auto_dir = TRUE;
+  layout->single_paragraph = FALSE;
 
   layout->log_attrs = NULL;
   layout->lines = NULL;


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