1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-11 14:44:07 +00:00

Use locale "-" to turn off locales

This commit is contained in:
fgenesis 2012-07-14 19:50:01 +02:00
parent 927928167b
commit 00bb390019

View file

@ -60,7 +60,7 @@ std::string localisePathInternalModpath(const std::string &path)
std::string localisePath(const std::string &path, const std::string& modpath /* = "" */) std::string localisePath(const std::string &path, const std::string& modpath /* = "" */)
{ {
if (s_locale.empty()) if (s_locale.empty() || s_locale == "-")
return path; return path;
const std::string fname = path.substr(modpath.length()); const std::string fname = path.substr(modpath.length());