From 00bb39001983a6de5c573514105e7af53102b438 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sat, 14 Jul 2012 19:50:01 +0200 Subject: [PATCH] Use locale "-" to turn off locales --- BBGE/Localization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BBGE/Localization.cpp b/BBGE/Localization.cpp index e696e6e..8f5f070 100644 --- a/BBGE/Localization.cpp +++ b/BBGE/Localization.cpp @@ -60,7 +60,7 @@ std::string localisePathInternalModpath(const std::string &path) std::string localisePath(const std::string &path, const std::string& modpath /* = "" */) { - if (s_locale.empty()) + if (s_locale.empty() || s_locale == "-") return path; const std::string fname = path.substr(modpath.length());