From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YARelay/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/YARelay/src') diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index 60916d5673..96d331ceea 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -155,20 +155,20 @@ static int MessageEventAdded(WPARAM hContact, LPARAM hDBEvent) if (id != NULL) _tcsncpy_s(buf, id, _TRUNCATE); else - mir_sntprintf(buf, _T("%p"), hContact); + mir_sntprintf(buf, L"%p", hContact); } szUtfMsg.append(T2Utf(buf)); break; case 't': case 'T': - _tcsftime(buf, 10, _T("%H:%M"), tm_time); + _tcsftime(buf, 10, L"%H:%M", tm_time); szUtfMsg.append(T2Utf(buf)); break; case 'd': case 'D': - _tcsftime(buf, 12, _T("%d/%m/%Y"), tm_time); + _tcsftime(buf, 12, L"%d/%m/%Y", tm_time); szUtfMsg.append(T2Utf(buf)); break; @@ -235,7 +235,7 @@ extern "C" int __declspec(dllexport) Load() _tcsncpy(tszForwardTemplate, szForwardTemplate, _countof(tszForwardTemplate)); mir_free(szForwardTemplate); } - else _tcsncpy(tszForwardTemplate, _T("%u: %m"), MAXTEMPLATESIZE-1); + else _tcsncpy(tszForwardTemplate, L"%u: %m", MAXTEMPLATESIZE-1); iSplit = db_get_dw(NULL, "yaRelay", "Split", 0); iSplitMaxSize = db_get_dw(NULL, "yaRelay", "SplitMaxSize", 100); -- cgit v1.2.3