From 428bf0cbd77813a43094cb5c984436deff251936 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 12:36:34 +0000 Subject: no more TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YARelay/src/main.cpp | 2 +- plugins/YARelay/src/options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/YARelay') diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index 3e2112eb27..c3d9ae62d6 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -230,7 +230,7 @@ extern "C" int __declspec(dllexport) Load() iForwardOnStatus = db_get_dw(NULL, "yaRelay", "ForwardOnStatus", STATUS_OFFLINE | STATUS_AWAY | STATUS_NA); - wchar_t *szForwardTemplate = db_get_tsa(NULL, "yaRelay", "ForwardTemplate"); + wchar_t *szForwardTemplate = db_get_wsa(NULL, "yaRelay", "ForwardTemplate"); if (szForwardTemplate){ wcsncpy(tszForwardTemplate, szForwardTemplate, _countof(tszForwardTemplate)); mir_free(szForwardTemplate); diff --git a/plugins/YARelay/src/options.cpp b/plugins/YARelay/src/options.cpp index 66a00bbe04..a0222e0bef 100644 --- a/plugins/YARelay/src/options.cpp +++ b/plugins/YARelay/src/options.cpp @@ -172,7 +172,7 @@ static INT_PTR CALLBACK OptionsFrameProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, db_set_dw(NULL, "yaRelay", "ForwardFrom", (DWORD)hForwardFrom); db_set_dw(NULL, "yaRelay", "ForwardTo", (DWORD)hForwardTo); db_set_dw(NULL, "yaRelay", "ForwardOnStatus", iForwardOnStatus); - db_set_ts(NULL, "yaRelay", "ForwardTemplate", tszForwardTemplate); + db_set_ws(NULL, "yaRelay", "ForwardTemplate", tszForwardTemplate); db_set_dw(NULL, "yaRelay", "Split", iSplit); db_set_dw(NULL, "yaRelay", "SplitMaxSize", iSplitMaxSize); db_set_dw(NULL, "yaRelay", "SendParts", iSendParts); -- cgit v1.2.3