summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamMod')
-rwxr-xr-xplugins/StopSpamMod/src/init.cpp2
-rwxr-xr-xplugins/StopSpamMod/src/utilities.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamMod/src/init.cpp b/plugins/StopSpamMod/src/init.cpp
index f5bdfe4fc1..2496667941 100755
--- a/plugins/StopSpamMod/src/init.cpp
+++ b/plugins/StopSpamMod/src/init.cpp
@@ -122,7 +122,7 @@ static int OnSystemModulesLoaded(WPARAM, LPARAM)
mir_forkthread(&CleanThread);
// Folders plugin support
- hStopSpamLogDirH = FoldersRegisterCustomPathT(LPGEN("StopSpam"), LPGEN("StopSpam Logs"), FOLDER_LOGS);
+ hStopSpamLogDirH = FoldersRegisterCustomPathW(LPGEN("StopSpam"), LPGEN("StopSpam Logs"), FOLDER_LOGS);
return 0;
}
diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp
index 675e403292..df98a7efbb 100755
--- a/plugins/StopSpamMod/src/utilities.cpp
+++ b/plugins/StopSpamMod/src/utilities.cpp
@@ -199,7 +199,7 @@ void LogSpamToFile(MCONTACT hContact, wstring message)
wchar_t pszName[MAX_PATH];
if (hStopSpamLogDirH)
- FoldersGetCustomPathT(hStopSpamLogDirH, pszName, MAX_PATH, L"");
+ FoldersGetCustomPathW(hStopSpamLogDirH, pszName, MAX_PATH, L"");
else
mir_wstrncpy(pszName, VARSW(L"%miranda_logpath%"), _countof(pszName));