FileUtil.cpp: fix CreateFullPath for relative paths

This commit is contained in:
oltolm committed 2025-05-31 18:26:09 +02:00
1 parent eb92ef0782
commit 52c57ad9fa
1 file changed
+3 -1
+3 -1
View File
@@ -652,7 +652,9 @@ bool CreateFullPath(const Path &path) {
}
std::vector<std::string_view> parts;
SplitString(diff, '/', parts);
if (!diff.empty()) {
SplitString(diff, '/', parts);
}
// Probably not necessary sanity check, ported from the old code.
if (parts.size() > 100) {