Revert part of commit e7b18d3a88

Allow markup to be set via textbox flags.
This commit is contained in:
Dave Davenport 2016-02-09 19:53:46 +01:00
parent 37578dff20
commit 2cc2522e57

View file

@ -140,7 +140,7 @@ static void __textbox_update_pango_text ( textbox *tb )
pango_layout_set_attributes ( tb->layout, NULL );
pango_layout_set_text ( tb->layout, string, l );
}
else if ( tb->tbft & MARKUP ) {
else if ( tb->flags & TB_MARKUP || tb->tbft & MARKUP ) {
pango_layout_set_markup ( tb->layout, tb->text, -1 );
}
else {