summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r--pango/pango-renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index b4c4728e..5b5b71ba 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -481,7 +481,7 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer,
PangoRectangle ink_rect, *ink = NULL;
PangoRectangle logical_rect, *logical = NULL;
- if (run->item->analysis.centered_baseline)
+ if (run->item->analysis.flags & PANGO_ANALYSIS_FLAG_CENTERED_BASELINE)
logical = &logical_rect;
pango_renderer_prepare_run (renderer, run);
@@ -515,7 +515,7 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer,
state.logical_rect_end = x + x_off + glyph_string_width;
- if (run->item->analysis.centered_baseline)
+ if (run->item->analysis.flags & PANGO_ANALYSIS_FLAG_CENTERED_BASELINE)
rise += logical_rect.y + logical_rect.height / 2;