mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 01:47:13 +00:00
Activate pango markup for Tips of the Day texts
This commit is contained in:
parent
2f971d999c
commit
bf226a9412
@ -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…
x
Reference in New Issue
Block a user