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/wbOSD/src/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/wbOSD/src/options.cpp') diff --git a/plugins/wbOSD/src/options.cpp b/plugins/wbOSD/src/options.cpp index 6f9dd76a48..de0c49a6cc 100644 --- a/plugins/wbOSD/src/options.cpp +++ b/plugins/wbOSD/src/options.cpp @@ -11,7 +11,7 @@ Distributed under GNU's GPL 2 or later COLORREF pencustcolors[16]; -const static osdmsg defstr = { _T(""), 0, RGB(0, 0, 0), 0, 0 }; +const static osdmsg defstr = { L"", 0, RGB(0, 0, 0), 0, 0 }; void FillCheckBoxTree(HWND hwndTree, DWORD style) { @@ -250,7 +250,7 @@ INT_PTR CALLBACK OptDlgProc(HWND hDlg, UINT msg, WPARAM wparam, LPARAM lparam) { TCHAR buf[20]; - mir_sntprintf(buf, _T("%d %%"), ps->alpha * 100 / 255); + mir_sntprintf(buf, L"%d %%", ps->alpha * 100 / 255); SetDlgItemText(hDlg, IDC_ALPHATXT, buf); } @@ -266,7 +266,7 @@ INT_PTR CALLBACK OptDlgProc(HWND hDlg, UINT msg, WPARAM wparam, LPARAM lparam) ps->alpha = SendDlgItemMessage(hDlg, IDC_SLIDER1, TBM_GETPOS, 0, 0); { TCHAR buf[20]; - mir_sntprintf(buf, _T("%d %%"), ps->alpha * 100 / 255); + mir_sntprintf(buf, L"%d %%", ps->alpha * 100 / 255); SetDlgItemText(hDlg, IDC_ALPHATXT, buf); } goto xxx; -- cgit v1.2.3