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:
parent
f58c7d2423
commit
d0f232d4ef
@ -1645,7 +1645,7 @@ std::string WindowsDirectories::configDir()
|
||||
{
|
||||
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
|
||||
{
|
||||
return ConfigDirPath();
|
||||
return configDirPath();
|
||||
}
|
||||
std::string cacheDirPath() override
|
||||
{
|
||||
return ConfigDirPath();
|
||||
return configDirPath();
|
||||
}
|
||||
std::string configDirPath() override;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user