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_smileys.cpp | |
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_smileys.cpp')
-rw-r--r-- | utils/mir_smileys.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mir_smileys.cpp b/utils/mir_smileys.cpp index 375a5bba64..a337b5b2f1 100644 --- a/utils/mir_smileys.cpp +++ b/utils/mir_smileys.cpp @@ -276,7 +276,7 @@ void DrawTextSmiley(HDC hdcMem, RECT free_rc, const TCHAR *szText, int len, Sort i = 0; // Get real height of the line - text_height = skin_DrawText(hdcMem, _T("A"), 1, &tmp_rc, DT_CALCRECT | uTextFormat); + text_height = skin_DrawText(hdcMem, L"A", 1, &tmp_rc, DT_CALCRECT | uTextFormat); if (uTextFormat & DT_RESIZE_SMILEYS) row_height = text_height; else @@ -285,7 +285,7 @@ void DrawTextSmiley(HDC hdcMem, RECT free_rc, const TCHAR *szText, int len, Sort // Just draw ellipsis if (free_rc.right <= free_rc.left) { - skin_DrawText(hdcMem, _T("..."), 3, &free_rc, uTextFormat & ~DT_END_ELLIPSIS); + skin_DrawText(hdcMem, L"...", 3, &free_rc, uTextFormat & ~DT_END_ELLIPSIS); } else { @@ -349,7 +349,7 @@ void DrawTextSmiley(HDC hdcMem, RECT free_rc, const TCHAR *szText, int len, Sort else { text_rc.top += (row_height - text_height) >> 1; - skin_DrawText(hdcMem, _T("..."), 3, &text_rc, uTextFormat); + skin_DrawText(hdcMem, L"...", 3, &text_rc, uTextFormat); } pos_x += (LONG)(piece->smiley_width * factor); |