summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-09 19:53:46 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-09 19:53:46 +0100
commit2cc2522e57510cfe9e73f9b8b64af9bd6cd18591 (patch)
tree3a63a48b52a47201a4d9969065b599e087dbecdf /source
parent37578dff20c4571768bcc8d7dc972ecd6b37156f (diff)
Allow markup to be set via textbox flags.
Diffstat (limited to 'source')
-rw-r--r--source/textbox.c2
1 files changed, 1 insertions, 1 deletions
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 {