Activate pango markup for Tips of the Day texts
This commit is contained in:
parent
2f971d999c
commit
bf226a9412
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue