From ac91cd55be7e2f69cfbf7e039feba2bdee7edfc0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Apr 2025 14:44:18 +0300 Subject: =?UTF-8?q?fixes=20#4965=20(Folders:=20=D0=BD=D0=B5=D0=BA=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D1=8B=D0=B5=20=D1=81=D1=82=D1=80=D0=BE=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BD=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D1=8F=D1=82=D1=81=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Gadu-Gadu/src/gg_proto.cpp | 2 +- protocols/Tox/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index a083507708..4a9954195e 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -79,7 +79,7 @@ GaduProto::GaduProto(const char *pszProtoName, const wchar_t *tszUserName) : wchar_t szPath[MAX_PATH]; mir_snwprintf(szPath, L"%s\\%s\\ImageCache", (wchar_t*)VARSW(L"%miranda_userdata%"), m_tszUserName); - hImagesFolder = FoldersRegisterCustomPathW(LPGEN("Images"), m_szModuleName, szPath, m_tszUserName); + hImagesFolder = FoldersRegisterCustomPathW(LPGEN("Images"), m_szModuleName, szPath); uint32_t pluginVersion = getDword(GG_PLUGINVERSION, 0); if (pluginVersion < pluginInfoEx.version) diff --git a/protocols/Tox/src/main.cpp b/protocols/Tox/src/main.cpp index 7b509b9378..3d9c520cf9 100644 --- a/protocols/Tox/src/main.cpp +++ b/protocols/Tox/src/main.cpp @@ -36,7 +36,7 @@ int OnModulesLoaded(WPARAM, LPARAM) { CToxProto::InitIcons(); - hProfileFolderPath = FoldersRegisterCustomPathW("Tox", "ProfilesFolder", MIRANDA_USERDATAW, TranslateT("Profiles folder")); + hProfileFolderPath = FoldersRegisterCustomPathW("Tox", LPGEN("Profiles folder"), MIRANDA_USERDATAW); if (ServiceExists(MS_ASSOCMGR_ADDNEWURLTYPE)) { CreateServiceFunction(MODULE "/ParseUri", CToxProto::ParseToxUri); -- cgit v1.2.3