summaryrefslogtreecommitdiff
path: root/plugins/YARelay/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/YARelay/src
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff)
hello, Unix.
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YARelay/src')
-rw-r--r--plugins/YARelay/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
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);