Core: Fix up clang error

This commit is contained in:
zilmar 2024-10-11 07:09:03 +10:30
parent 0d95a0cd7f
commit ccf708751f
2 changed files with 2 additions and 2 deletions

View File

@ -1494,7 +1494,7 @@ bool CPath::DirectoryCreate(bool bCreateIntermediates /*= TRUE*/)
WriteTrace(TracePath, TraceDebug, "Create %s", PathText.c_str());
bSuccess = ::CreateDirectory(stdstr(PathText).ToUTF16().c_str(), nullptr) != 0;
#else
GetDirectory(PathText);7
GetDirectory(PathText);
StripTrailingBackslash(PathText);
WriteTrace(TracePath, TraceDebug, "Create %s", PathText.c_str());
bSuccess = mkdir(PathText.c_str(), S_IRWXU) == 0;