summaryrefslogtreecommitdiff
path: root/src/mir_app/src/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/path.cpp')
-rw-r--r--src/mir_app/src/path.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/path.cpp b/src/mir_app/src/path.cpp
index 3f2b78745e..09993749b1 100644
--- a/src/mir_app/src/path.cpp
+++ b/src/mir_app/src/path.cpp
@@ -121,7 +121,7 @@ static __forceinline char* GetPathVarX(const char*, int code)
if (hAvatarFolder != nullptr)
wcsncpy_s(szFullPath, tszAvatarRoot, _TRUNCATE);
else
- mir_snwprintf(szFullPath, L"%s\\%s\\Avatars", g_profileDir, g_shortProfileName);
+ mir_snwprintf(szFullPath, L"%s\\%s\\AvatarCache", g_profileDir, g_shortProfileName);
break;
case 2:
mir_snwprintf(szFullPath, L"%s\\%s\\Logs", g_profileDir, g_shortProfileName);
@@ -205,7 +205,7 @@ static __forceinline wchar_t* GetPathVarX(const wchar_t*, int code)
if (hAvatarFolder != nullptr)
wcsncpy_s(szFullPath, tszAvatarRoot, _TRUNCATE);
else
- mir_snwprintf(szFullPath, L"%s\\%s\\Avatars", g_profileDir, g_shortProfileName);
+ mir_snwprintf(szFullPath, L"%s\\%s\\AvatarCache", g_profileDir, g_shortProfileName);
break;
case 2:
mir_snwprintf(szFullPath, L"%s\\%s\\Logs", g_profileDir, g_shortProfileName);
@@ -364,7 +364,7 @@ MIR_APP_DLL(wchar_t*) Utils_ReplaceVarsW(const wchar_t *wszData, MCONTACT hConta
static int OnFoldersChanged(WPARAM, LPARAM)
{
- mir_snwprintf(tszAvatarRoot, L"%s\\%s\\Avatars", g_profileDir, g_shortProfileName);
+ mir_snwprintf(tszAvatarRoot, L"%s\\%s\\AvatarCache", g_profileDir, g_shortProfileName);
wchar_t tmpVar[MAX_PATH];
if (!FoldersGetCustomPathT(hAvatarFolder, tmpVar, _countof(tmpVar), tszAvatarRoot))
@@ -374,7 +374,7 @@ static int OnFoldersChanged(WPARAM, LPARAM)
void InitPathVar()
{
- mir_snwprintf(tszAvatarRoot, L"%s\\%s\\Avatars", g_profileDir, g_shortProfileName);
+ mir_snwprintf(tszAvatarRoot, L"%s\\%s\\AvatarCache", g_profileDir, g_shortProfileName);
if (hAvatarFolder = FoldersRegisterCustomPathT( LPGEN("Avatars"), LPGEN("Avatars root folder"), tszAvatarRoot)) {
wchar_t tmpVar[MAX_PATH];
if (!FoldersGetCustomPathT(hAvatarFolder, tmpVar, _countof(tmpVar), tszAvatarRoot))