[pango/more-test-coverage2: 5/15] layout: Explicitly initialize single_paragraph
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/more-test-coverage2: 5/15] layout: Explicitly initialize single_paragraph
- Date: Tue, 6 Jul 2021 22:51:59 +0000 (UTC)
commit ada502d856a5423ce49c501a6fea88f4a2d2d180
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 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]