1
0
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:
SFENCE
2024-09-04 19:15:39 +02:00
committed by sfence
parent 24e9db07ec
commit af3f696423
43 changed files with 493 additions and 484 deletions

View File

@@ -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;
}