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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user