diff --git a/source/textbox.c b/source/textbox.c index 36dd9050..ea129aa3 100644 --- a/source/textbox.c +++ b/source/textbox.c @@ -151,6 +151,7 @@ void textbox_text ( textbox *tb, const char *text ) pango_layout_set_markup ( tb->layout, tb->text, strlen ( tb->text ) ); } else { + pango_layout_set_attributes ( tb->layout, NULL ); pango_layout_set_text ( tb->layout, tb->text, strlen ( tb->text ) ); } if ( tb->flags & TB_AUTOWIDTH ) {