mirror of
https://github.com/love2d/love.git
synced 2026-08-12 00:20:52 +02:00
Canonicalize getFullCommonPath paths.
Fixes getRealDirectory test.
This commit is contained in:
@@ -563,7 +563,9 @@ std::string Filesystem::getFullCommonPath(CommonPath path)
|
||||
else
|
||||
suffix = std::string(LOVE_PATH_SEPARATOR LOVE_APPDATA_FOLDER LOVE_PATH_SEPARATOR) + saveIdentity;
|
||||
|
||||
// TODO: do we still need the normalize?
|
||||
fullPaths[path] = normalize(rootpath + suffix);
|
||||
fullPaths[path] = canonicalizeRealPath(fullPaths[path].c_str());
|
||||
|
||||
return fullPaths[path];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user