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/Weather/src/weather_userinfo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Weather/src/weather_userinfo.cpp') diff --git a/plugins/Weather/src/weather_userinfo.cpp b/plugins/Weather/src/weather_userinfo.cpp index 22b185c261..b1538f332e 100644 --- a/plugins/Weather/src/weather_userinfo.cpp +++ b/plugins/Weather/src/weather_userinfo.cpp @@ -67,7 +67,7 @@ static void LoadBriefInfoText(HWND hwndDlg, MCONTACT hContact) GetDisplay(&winfo, opt.bText, str); SetDlgItemText(hwndDlg, IDC_MTEXT, str); - GetDisplay(&winfo, _T("%c, %t"), str); + GetDisplay(&winfo, L"%c, %t", str); SetWindowText(hwndDlg, winfo.city); SetDlgItemText(hwndDlg, IDC_HEADERBAR, str); } @@ -177,7 +177,7 @@ static INT_PTR CALLBACK DlgProcMoreData(HWND hwndDlg, UINT msg, WPARAM wParam, L LV_ITEM lvi = { 0 }; lvi.mask = LVIF_TEXT | LVIF_PARAM; lvi.lParam = 1; - lvi.pszText = _T(""); + lvi.pszText = L""; lvi.iItem = ListView_InsertItem(hList, &lvi); lvi.pszText = TranslateT("Retrieving new data, please wait..."); ListView_SetItemText(hList, lvi.iItem, 1, lvi.pszText); @@ -267,11 +267,11 @@ static INT_PTR CALLBACK DlgProcUIPage(HWND hwndDlg, UINT msg, WPARAM wParam, LPA SendDlgItemMessage(hwndDlg, IDC_INFO2, WM_SETFONT, (WPARAM)CreateFontIndirect(&lf), 0); } // set the text for displaying other current weather conditions data - GetDisplay(&w, _T("%c %t"), str); + GetDisplay(&w, L"%c %t", str); SetDlgItemText(hwndDlg, IDC_INFO2, str); SetDlgItemText(hwndDlg, IDC_INFO3, w.feel); SetDlgItemText(hwndDlg, IDC_INFO4, w.pressure); - GetDisplay(&w, _T("%i %w"), str); + GetDisplay(&w, L"%i %w", str); SetDlgItemText(hwndDlg, IDC_INFO5, str); SetDlgItemText(hwndDlg, IDC_INFO6, w.dewpoint); SetDlgItemText(hwndDlg, IDC_INFO7, w.sunrise); -- cgit v1.2.3