From 5efeb0de659f76071673bc22ba5893c5c93bcf87 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 28 Nov 2017 21:45:08 +0300 Subject: mir_app: fix after conversion --- src/mir_app/src/chat.h | 2 +- src/mir_app/src/chat_clist.cpp | 2 +- src/mir_app/src/chat_log.cpp | 2 +- src/mir_app/src/chat_opts.cpp | 2 +- src/mir_app/src/path.cpp | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/chat.h b/src/mir_app/src/chat.h index 33321baacf..2cbaa74569 100644 --- a/src/mir_app/src/chat.h +++ b/src/mir_app/src/chat.h @@ -2,7 +2,7 @@ Chat module plugin for Miranda IM -Copyright (C) 2003 Jцrgen Persson +Copyright (C) 2003 Jörgen Persson This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/mir_app/src/chat_clist.cpp b/src/mir_app/src/chat_clist.cpp index 5dbd0ecc43..e1d20e01bf 100644 --- a/src/mir_app/src/chat_clist.cpp +++ b/src/mir_app/src/chat_clist.cpp @@ -1,7 +1,7 @@ /* Chat module plugin for Miranda IM -Copyright (C) 2003 Jцrgen Persson +Copyright (C) 2003 Jörgen Persson This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/mir_app/src/chat_log.cpp b/src/mir_app/src/chat_log.cpp index 29e87300e1..95d40df71c 100644 --- a/src/mir_app/src/chat_log.cpp +++ b/src/mir_app/src/chat_log.cpp @@ -1,7 +1,7 @@ /* Chat module plugin for Miranda IM -Copyright (C) 2003 Jцrgen Persson +Copyright (C) 2003 Jörgen Persson This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/mir_app/src/chat_opts.cpp b/src/mir_app/src/chat_opts.cpp index 4406380b1a..d210d62d31 100644 --- a/src/mir_app/src/chat_opts.cpp +++ b/src/mir_app/src/chat_opts.cpp @@ -1,7 +1,7 @@ /* Chat module plugin for Miranda IM -Copyright (C) 2003 Jцrgen Persson +Copyright (C) 2003 Jörgen Persson This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 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)) -- cgit v1.2.3