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 04faf1d735
commit b8ca750d4b

View file

@ -227,8 +227,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);
}