From 2cc2522e57510cfe9e73f9b8b64af9bd6cd18591 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 9 Feb 2016 19:53:46 +0100 Subject: [PATCH] Revert part of commit e7b18d3a88ba754738919883cf70f498654432ee Allow markup to be set via textbox flags. --- source/textbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/textbox.c b/source/textbox.c index 73cbfea8..d291327b 100644 --- a/source/textbox.c +++ b/source/textbox.c @@ -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 {