2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-30 13:27:44 +00:00

Fix compilation errors on Windows.

This commit is contained in:
Vibhav Pant 2023-10-27 17:16:12 +05:30
parent f58c7d2423
commit d0f232d4ef
No known key found for this signature in database
GPG Key ID: 0DA2B55215EC37E5
2 changed files with 3 additions and 3 deletions

View File

@ -1645,7 +1645,7 @@ std::string WindowsDirectories::configDir()
{
if (PathAppend(szPath, TEXT(".megaCmd")))
{
MegaApi::utf16ToUtf8(szPath, lstrlen(szPath), &folder);
utf16ToUtf8(szPath, lstrlen(szPath), &folder);
}
}
}

View File

@ -407,11 +407,11 @@ class WindowsDirectories : public PlatformDirectories
{
std::string runtimeDirPath() override
{
return ConfigDirPath();
return configDirPath();
}
std::string cacheDirPath() override
{
return ConfigDirPath();
return configDirPath();
}
std::string configDirPath() override;
};