Activate pango markup for Tips of the Day texts

This commit is contained in:
Ali El Gariani 2010-05-16 13:02:35 +00:00
parent 2f971d999c
commit bf226a9412

View file

@ -255,7 +255,7 @@ static void draw_tip_of_day(game_display& screen,
int tip_width = game_config::title_tip_width * screen.w() / 1024;
font::ttext text, source;
text.set_text((*tip)["text"], false);
text.set_text((*tip)["text"], true);
text.set_maximum_width(tip_width);
text.set_maximum_height(main_dialog_area->h);
source.set_text((*tip)["source"], false);