mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Code style fixes.
This commit is contained in:
@@ -104,7 +104,7 @@ std::vector<DirListNode> GetDirListing(const std::string &pathstring)
|
||||
<< " Error is " << dwError << std::endl;
|
||||
listing.clear();
|
||||
return listing;
|
||||
}
|
||||
}
|
||||
}
|
||||
return listing;
|
||||
}
|
||||
@@ -715,7 +715,7 @@ bool PathStartsWith(const std::string &path, const std::string &prefix)
|
||||
if(prefixpos == prefixsize)
|
||||
return true;
|
||||
// Return false if path has ended (at delimiter/EOS)
|
||||
// while prefix did not.
|
||||
// while prefix did not.
|
||||
if(pathpos == pathsize)
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user