mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
small filesystem code cleanup
This commit is contained in:
@@ -58,8 +58,6 @@ namespace love
|
||||
namespace filesystem
|
||||
{
|
||||
|
||||
class NativeFile;
|
||||
|
||||
class Filesystem : public Module
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -690,7 +690,9 @@ std::string Filesystem::getFullCommonPath(CommonPath path)
|
||||
|
||||
#endif
|
||||
|
||||
fullPaths[path] = canonicalizeRealPath(fullPaths[path].c_str());
|
||||
if (!fullPaths[path].empty())
|
||||
fullPaths[path] = canonicalizeRealPath(fullPaths[path].c_str());
|
||||
|
||||
return fullPaths[path];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user