Fix the markup in the objectives.

This commit is contained in:
Mark de Wever 2009-05-24 13:49:55 +00:00
parent de614d454e
commit 2eeea9d012

View file

@ -238,8 +238,8 @@ void show_objectives(game_display& disp, const config& level, const std::string&
/** @todo We can now allow pango markup for the objectives if wanted. */
gui2::show_transient_message(disp.video(), "", "*~" + name +
(campaign_name.empty() ? "\n" : " - " + campaign_name + "\n") +
(objectives.empty() ? no_objectives : objectives)
);
(objectives.empty() ? no_objectives : objectives),
gui2::tcontrol::WML_MARKUP);
}
namespace {