From 9f3d2a0acc85801f4f47246b248958f476e4eaa2 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Sat, 29 Mar 2014 16:15:25 +0000 Subject: [PATCH] Fixed libloadorder errors missing details. --- src/backend/game.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/backend/game.cpp b/src/backend/game.cpp index 6d7730ab..947d0834 100644 --- a/src/backend/game.cpp +++ b/src/backend/game.cpp @@ -295,7 +295,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to get the active plugins list. Details: " << e; - string err = lc::translate("libloadorder failed to get the active plugins list. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to get the active plugins list. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err); @@ -340,7 +340,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to create a game handle. Details: " << e; - string err = lc::translate("libloadorder failed to create a game handle. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to create a game handle. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err); @@ -359,7 +359,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to initialise game master file support. Details: " << e; - string err = lc::translate("libloadorder failed to initialise game master file support. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to initialise game master file support. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err); @@ -376,7 +376,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to get the load order. Details: " << e; - string err = lc::translate("libloadorder failed to get the load order. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to get the load order. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err); @@ -416,7 +416,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to create a game handle. Details: " << e; - string err = lc::translate("libloadorder failed to create a game handle. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to create a game handle. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err); @@ -434,7 +434,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to initialise game master file support. Details: " << e; - string err = lc::translate("libloadorder failed to initialise game master file support. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to initialise game master file support. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err); @@ -463,7 +463,7 @@ namespace loot { } else { BOOST_LOG_TRIVIAL(error) << "libloadorder failed to set the load order. Details: " << e; - string err = lc::translate("libloadorder failed to set the load order. Details:").str() + " " + e; + err = lc::translate("libloadorder failed to set the load order. Details:").str() + " " + e; } lo_cleanup(); throw error(error::liblo_error, err);