From d67bb2fb55c3b7443b9a6256c9d315211dddf5be Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Wed, 29 Jan 2014 13:57:02 +0000 Subject: [PATCH] Fixed debug log getting opened in default browser. Should be default application instead, copy/paste error. --- src/gui/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 1023e63d..b3d5d9ac 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -535,7 +535,7 @@ void Launcher::OnSortPlugins(wxCommandEvent& event) { //Now load userlist. if (fs::exists(_game.UserlistPath())) { - BOOST_LOG_TRIVIAL(debug) << "Parsing userlist..."; + BOOST_LOG_TRIVIAL(debug) << "Parsing userlist at: " << _game.UserlistPath(); try { YAML::Node ulist = YAML::LoadFile(_game.UserlistPath().string()); @@ -1046,7 +1046,7 @@ void Launcher::OnOpenDebugLog(wxCommandEvent& event) { //Look for file. BOOST_LOG_TRIVIAL(debug) << "Opening readme."; if (fs::exists(g_path_log)) { - wxLaunchDefaultBrowser(g_path_log.string()); + wxLaunchDefaultApplication(g_path_log.string()); } else { //No log exists, show a pop-up message saying so. BOOST_LOG_TRIVIAL(error) << "File \"" << g_path_log.string() << "\" could not be found."; wxMessageBox(