2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-31 13:55:10 +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
2 changed files with 3 additions and 3 deletions

View File

@@ -1645,7 +1645,7 @@ std::string WindowsDirectories::configDir()
{ {
if (PathAppend(szPath, TEXT(".megaCmd"))) 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 std::string runtimeDirPath() override
{ {
return ConfigDirPath(); return configDirPath();
} }
std::string cacheDirPath() override std::string cacheDirPath() override
{ {
return ConfigDirPath(); return configDirPath();
} }
std::string configDirPath() override; std::string configDirPath() override;
}; };