diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /utils/mir_buffer.h | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (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 'utils/mir_buffer.h')
-rw-r--r-- | utils/mir_buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<TCHAR> *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 |