aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/filesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/filesystem.cpp')
-rw-r--r--src/zencore/filesystem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp
index 518146648..70d0f32b3 100644
--- a/src/zencore/filesystem.cpp
+++ b/src/zencore/filesystem.cpp
@@ -3329,12 +3329,12 @@ MakeSafeAbsolutePathInPlace(std::filesystem::path& Path)
{
if (PathString.starts_with(UncPrefix))
{
- // UNC path: \\server\share → \\?\UNC\server\share
+ // UNC path: \\server\share -> \\?\UNC\server\share
PathString.replace(0, UncPrefix.size(), LongPathUncPrefix);
}
else
{
- // Local path: C:\foo → \\?\C:\foo
+ // Local path: C:\foo -> \\?\C:\foo
PathString.insert(0, LongPathPrefix);
}
Path = PathString;
@@ -4153,7 +4153,7 @@ TEST_CASE("filesystem.MakeSafeAbsolutePath")
TEST_CASE("ExpandEnvironmentVariables")
{
- // No variables — pass-through
+ // No variables - pass-through
CHECK_EQ(ExpandEnvironmentVariables("plain/path"), "plain/path");
CHECK_EQ(ExpandEnvironmentVariables(""), "");