Moved some newlines around in the carryover report
Makes the minimal carryover report popups don't have excess newlines
This commit is contained in:
parent
84dc059429
commit
c18fbf90da
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ void campaign_controller::report_victory(
|
|||
std::ostringstream &report, team& t,
|
||||
int finishing_bonus_per_turn, int turns_left, int finishing_bonus)
|
||||
{
|
||||
report << "<small>" << _("Remaining gold: ") << utils::half_signed_value(t.gold()) << "</small>";
|
||||
report << "<small>\n" << _("Remaining gold: ") << utils::half_signed_value(t.gold()) << "</small>";
|
||||
|
||||
if(t.carryover_bonus() != 0) {
|
||||
if (turns_left > -1) {
|
||||
|
@ -139,7 +139,7 @@ void campaign_controller::show_carryover_message(playsingle_controller& playcont
|
|||
title = _("Scenario Report");
|
||||
} else if (res == LEVEL_RESULT::VICTORY) {
|
||||
title = _("Victory");
|
||||
report << "<b>" << _("You have emerged victorious!") << "</b>\n\n";
|
||||
report << "<b>" << _("You have emerged victorious!") << "</b>\n";
|
||||
} else {
|
||||
title = _("Defeat");
|
||||
report << _("You have been defeated!") << "\n";
|
||||
|
@ -174,7 +174,7 @@ void campaign_controller::show_carryover_message(playsingle_controller& playcont
|
|||
continue;
|
||||
}
|
||||
if (persistent_teams > 1) {
|
||||
report << "\n<b>" << t.side_name() << "</b>\n";
|
||||
report << "\n<b>" << t.side_name() << "</b>";
|
||||
}
|
||||
|
||||
report_victory(report, t, finishing_bonus_per_turn, turns_left, finishing_bonus);
|
||||
|
|
Loading…
Add table
Reference in a new issue