Fix bug 63357

This commit is contained in:
Oleg.Korshul
2023-07-14 15:25:24 +05:00
parent 092df2d20e
commit 0d9d8fad80

View File

@ -40,7 +40,11 @@ public:
std::wstring GetHeadPath(const std::wstring& sFile) std::wstring GetHeadPath(const std::wstring& sFile)
{ {
std::wstring sFullPath = m_sAliasDirectory + L"/" + sFile; std::wstring sFullPath = m_sAliasDirectory + L"/" + sFile;
sFullPath = L"/" + NSSystemPath::NormalizePath(sFullPath); NSSystemPath::NormalizePath(sFullPath);
if (!sFullPath.empty() && '/' != sFullPath[0])
sFullPath = L"/" + sFullPath;
return sFullPath; return sFullPath;
} }
}; };