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 01:09:46 -0400
commit2170741092415daa54b892c2899536218ad46693 (patch)
tree859290b1e4048698b2e365093f0a11e2c7d3f8b1
parente610d051bf6fdbab9e93da29d40a53df7011ef02 (diff)
downloadpango-2170741092415daa54b892c2899536218ad46693.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 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;