summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-05 22:41:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-06 14:45:48 -0400
commitada502d856a5423ce49c501a6fea88f4a2d2d180 (patch)
treef1a2a882738de64c3af9e92512b7654f3abd2337
parent892fbe3f3e41b31f3ec16897a2cdce468b816569 (diff)
downloadpango-ada502d856a5423ce49c501a6fea88f4a2d2d180.tar.gz
layout: Explicitly initialize single_paragraph
This makes it obvious what the initial value is.
-rw-r--r--pango/pango-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index f726c89c..b622f490 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;