diff --git a/src/st/st-private.c b/src/st/st-private.c index cd4e52ac2..a8ec1970c 100644 --- a/src/st/st-private.c +++ b/src/st/st-private.c @@ -212,13 +212,16 @@ _st_set_text_from_style (ClutterText *text, pango_attr_list_unref (attribs); align = st_theme_node_get_text_align (theme_node); - if(align == ST_TEXT_ALIGN_JUSTIFY) { - clutter_text_set_justify (text, TRUE); - clutter_text_set_line_alignment (text, PANGO_ALIGN_LEFT); - } else { - clutter_text_set_justify (text, FALSE); - clutter_text_set_line_alignment (text, (PangoAlignment) align); - } + if (align == ST_TEXT_ALIGN_JUSTIFY) + { + clutter_text_set_justify (text, TRUE); + clutter_text_set_line_alignment (text, PANGO_ALIGN_LEFT); + } + else + { + clutter_text_set_justify (text, FALSE); + clutter_text_set_line_alignment (text, (PangoAlignment) align); + } } /**