[pango] layout: Correct a field type
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] layout: Correct a field type
- Date: Mon, 15 Jul 2019 01:31:55 +0000 (UTC)
commit b800a0a1a28a75677f45144d9783d271bfff1baf
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 14 21:23:19 2019 -0400
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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]