summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-14 21:23:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-14 21:23:58 -0400
commitb800a0a1a28a75677f45144d9783d271bfff1baf (patch)
tree8877baae9e8ee60d9cac6e75140fab8b58e73587
parentcbf69898fc840ebf284310ed9e2c03b165155253 (diff)
downloadpango-b800a0a1a28a75677f45144d9783d271bfff1baf.tar.gz
layout: Correct a field type
We had a boolean member in ParaBreakState that was used as an int. Oops
-rw-r--r--pango/pango-layout.c2
1 files changed, 1 insertions, 1 deletions
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 */