mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-04 13:27:14 +00:00
Fix crash added with last commit, thx KS-10 for pointing
This commit is contained in:
parent
9c76fa7ed4
commit
9e4fe3809e
2 changed files with 3 additions and 1 deletions
|
@ -62,6 +62,8 @@ std::string localisePath(const std::string &path, const std::string& modpath /*
|
|||
{
|
||||
if (s_locale.empty() || s_locale == "-")
|
||||
return path;
|
||||
if(path.length() < modpath.length())
|
||||
return path;
|
||||
|
||||
const std::string fname = path.substr(modpath.length());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue