diff options
Diffstat (limited to 'plugins/YARelay')
-rw-r--r-- | plugins/YARelay/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/YARelay/src/options.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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);
|