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 --- utils/mir_buffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/mir_buffer.h') diff --git a/utils/mir_buffer.h b/utils/mir_buffer.h index 6c58b538d2..584ca12149 100644 --- a/utils/mir_buffer.h +++ b/utils/mir_buffer.h @@ -457,14 +457,14 @@ static void ReplaceVars(Buffer *buffer, MCONTACT hContact, TCHAR **variab if (buffer->str[j] == _T('%')) { size_t foundLen = i - j + 1; - if (foundLen == 9 && _tcsncmp(&buffer->str[j], _T("%contact%"), 9) == 0) + if (foundLen == 9 && _tcsncmp(&buffer->str[j], L"%contact%", 9) == 0) { buffer->replace(j, i + 1, pcli->pfnGetContactDisplayName(hContact, 0)); } - else if (foundLen == 6 && _tcsncmp(&buffer->str[j], _T("%date%"), 6) == 0) + else if (foundLen == 6 && _tcsncmp(&buffer->str[j], L"%date%", 6) == 0) { TCHAR tmp[128]; - TimeZone_ToStringT(time(NULL), _T("d s"), tmp, _countof(tmp)); + TimeZone_ToStringT(time(NULL), L"d s", tmp, _countof(tmp)); buffer->replace(j, i + 1, tmp); } else -- cgit v1.2.3