diff options
-rw-r--r-- | backends/fs/posix-drives/posix-drives-fs.cpp | 4 | ||||
-rw-r--r-- | backends/fs/posix-drives/posix-drives-fs.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/fs/posix-drives/posix-drives-fs.cpp b/backends/fs/posix-drives/posix-drives-fs.cpp index d48792e2ff..c37492ee25 100644 --- a/backends/fs/posix-drives/posix-drives-fs.cpp +++ b/backends/fs/posix-drives/posix-drives-fs.cpp @@ -53,7 +53,7 @@ DrivePOSIXFilesystemNode::DrivePOSIXFilesystemNode(const DrivesArray &drives) : _isValid = false; } -DrivePOSIXFilesystemNode *DrivePOSIXFilesystemNode::getChildWithKnownType(const Common::String &n, bool isDirectory) const { +DrivePOSIXFilesystemNode *DrivePOSIXFilesystemNode::getChildWithKnownType(const Common::String &n, bool isDirectoryFlag) const { assert(_isDirectory); // Make sure the string contains no slashes @@ -68,7 +68,7 @@ DrivePOSIXFilesystemNode *DrivePOSIXFilesystemNode::getChildWithKnownType(const child->_path = newPath; child->_isValid = true; child->_isPseudoRoot = false; - child->_isDirectory = isDirectory; + child->_isDirectory = isDirectoryFlag; child->_displayName = n; return child; diff --git a/backends/fs/posix-drives/posix-drives-fs.h b/backends/fs/posix-drives/posix-drives-fs.h index 04d21b42b1..4c022b79cc 100644 --- a/backends/fs/posix-drives/posix-drives-fs.h +++ b/backends/fs/posix-drives/posix-drives-fs.h @@ -50,7 +50,7 @@ private: bool _isPseudoRoot; const DrivesArray &_drives; - DrivePOSIXFilesystemNode *getChildWithKnownType(const Common::String &n, bool isDirectory) const; + DrivePOSIXFilesystemNode *getChildWithKnownType(const Common::String &n, bool isDirectoryFlag) const; bool isDrive(const Common::String &path) const; }; |