fix another instance of "overlapping messages", for planning mode

This was previously fixed for the accelerated speed hotkey
announcements.

13c044f346
This commit is contained in:
Chris Beck 2014-10-13 18:09:33 -04:00
parent 4903aca9f0
commit 19878fa9e9

View file

@ -235,8 +235,7 @@ void playsingle_controller::whiteboard_toggle() {
utils::string_map symbols;
symbols["hotkey"] = hk;
gui_->announce(_("Planning mode activated!"), font::NORMAL_COLOR);
gui_->announce("\n" + vgettext("(press $hotkey to deactivate)", symbols), font::NORMAL_COLOR);
gui_->announce(_("Planning mode activated!") + std::string("\n") + vgettext("(press $hotkey to deactivate)", symbols), font::NORMAL_COLOR);
} else {
gui_->announce(_("Planning mode deactivated!"), font::NORMAL_COLOR);
}