Skip to content

Commit

Permalink
bugfix: when toggling accelerated speed, got overlapping print msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Sep 11, 2014
1 parent 7abb38a commit 13c044f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/play_controller.cpp
Expand Up @@ -1517,8 +1517,7 @@ void play_controller::toggle_accelerated_speed()
{
utils::string_map symbols;
symbols["hk"] = hotkey::get_names(hotkey::hotkey_command::get_command_by_command(hotkey::HOTKEY_ACCELERATED).command);
gui_->announce(_("Accelerated speed enabled!"), font::NORMAL_COLOR);
gui_->announce("\n" + vgettext("(press $hk to disable)", symbols), font::NORMAL_COLOR);
gui_->announce(std::string(_("Accelerated speed enabled!")) + "\n" + vgettext("(press $hk to disable)", symbols), font::NORMAL_COLOR);
}
else
{
Expand Down

0 comments on commit 13c044f

Please sign in to comment.