From b800a0a1a28a75677f45144d9783d271bfff1baf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 14 Jul 2019 21:23:19 -0400 Subject: layout: Correct a field type We had a boolean member in ParaBreakState that was used as an int. Oops --- pango/pango-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 4660b069..50300e73 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3283,7 +3283,7 @@ struct _ParaBreakState PangoAttrList *attrs; /* Attributes being used for itemization */ GList *items; /* This paragraph turned into items */ PangoDirection base_dir; /* Current resolved base direction */ - gboolean line_of_par; /* Line of the paragraph, starting at 1 for first line */ + int line_of_par; /* Line of the paragraph, starting at 1 for first line */ PangoGlyphString *glyphs; /* Glyphs for the first item in state->items */ int start_offset; /* Character offset of first item in state->items in layout->text */ -- cgit v1.2.1