X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftitle.cpp;h=2a34b101e56bc8a3d5cdc2d3b0c3a0c099ff3015;hb=dd9fdb809ad6effa216e4483f099a48ab2814352;hp=a990c69b24b0fb473f2551cca1d0be245f9b8cd1;hpb=b0278ee8b412817233ae20b9edb6f7a641774c67;p=supertux.git diff --git a/src/title.cpp b/src/title.cpp index a990c69b2..2a34b101e 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -303,7 +303,7 @@ TitleScreen::check_addons_menu() addons_menu->set_active_item(index); } catch (std::runtime_error e) { - log_warning << "Check for available Add-ons failed with error message \"" << e.what() << "\"" << std::endl; + log_warning << "Check for available Add-ons failed: " << e.what() << std::endl; } return; } @@ -319,7 +319,7 @@ TitleScreen::check_addons_menu() addons_menu->set_active_item(index); } catch (std::runtime_error e) { - log_warning << "Installation of Add-on failed with error message \"" << e.what() << "\"" << std::endl; + log_warning << "Installation of Add-on failed: " << e.what() << std::endl; } } else { try { @@ -329,7 +329,7 @@ TitleScreen::check_addons_menu() addons_menu->set_active_item(index); } catch (std::runtime_error e) { - log_warning << "Removal of Add-on failed with error message \"" << e.what() << "\"" << std::endl; + log_warning << "Removal of Add-on failed: " << e.what() << std::endl; } } } @@ -473,6 +473,7 @@ TitleScreen::update(float elapsed_time) break; case MNID_QUITMAINMENU: main_loop->quit(new FadeOut(0.25)); + sound_manager->stop_music(0.25); break; } } else if(menu == load_game_menu.get()) {