POSIX: Clean up formatting

This commit is contained in:
Cameron Cawley 2019-04-28 15:06:31 +01:00 committed by GitHub
parent 793aa4033d
commit 04229fd70b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,9 +263,9 @@ AbstractFSNode *POSIXFilesystemNode::getParent() const {
return 0; // The filesystem root has no parent return 0; // The filesystem root has no parent
#ifdef __OS2__ #ifdef __OS2__
if (_path.size() == 3 && _path.hasSuffix(":/")) if (_path.size() == 3 && _path.hasSuffix(":/"))
// This is a root directory of a drive // This is a root directory of a drive
return makeNode("/"); // return a virtual root for a list of drives return makeNode("/"); // return a virtual root for a list of drives
#endif #endif
#ifdef PSP2 #ifdef PSP2
if (_path.hasSuffix(":")) if (_path.hasSuffix(":"))