Skip to content

Commit

Permalink
DSUtil: функции CombineFilePath и GetCombineFilePath теперь приводят …
Browse files Browse the repository at this point in the history
…путь к "каноническому" виду.

В случаях, где это не требуется и нужна производительность, можно заменить на обычное объединение строк.
  • Loading branch information
v0lt committed Sep 12, 2024
1 parent a8f7761 commit 003ccdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DSUtil/FileHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ void CombineFilePath(CStringW& path, LPCWSTR file)
}
path.Append(file);
}
path = GetCanonicalizeFilePath(path);
}

CStringW GetCombineFilePath(LPCWSTR dir, LPCWSTR file)
Expand Down

0 comments on commit 003ccdc

Please sign in to comment.