diff options
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index d84de316..7d78af9a 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -2064,7 +2064,7 @@ get_alignment (PangoLayout *layout, { PangoAlignment alignment = layout->alignment; - if (line->layout->auto_dir && + if (alignment != PANGO_ALIGN_CENTER && line->layout->auto_dir && direction_simple (line->resolved_dir) == -direction_simple (pango_context_get_base_dir (layout->context))) { |