From 5cfd08891861d140445128b865ef3c99598dd68b Mon Sep 17 00:00:00 2001 From: LHoG <1476261+lhog@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:58:20 +0400 Subject: [PATCH] Fix / in Windows cache path. Likely doesn't affect anything but logs aesthetic. --- rts/Sim/Path/HAPFS/PathingState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Sim/Path/HAPFS/PathingState.cpp b/rts/Sim/Path/HAPFS/PathingState.cpp index 5fd320ffa3..9841d4320d 100644 --- a/rts/Sim/Path/HAPFS/PathingState.cpp +++ b/rts/Sim/Path/HAPFS/PathingState.cpp @@ -45,7 +45,7 @@ PCMemPool pcMemPool; // PEMemPool peMemPool; static const std::string GetPathCacheDir() { - return (FileSystem::GetCacheDir() + "/paths/"); + return (FileSystem::GetCacheDir() + FileSystemAbstraction::GetNativePathSeparator() + "paths" + FileSystemAbstraction::GetNativePathSeparator()); } static const std::string GetCacheFileName(const std::string& fileHashCode, const std::string& peFileName, const std::string& mapFileName) {