From 2b5aaa321425c6309ed912f04badd79e27e9549e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 May 2012 13:03:49 +0000 Subject: further cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@231 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Weather/weather_userinfo.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'protocols/Weather/weather_userinfo.cpp') diff --git a/protocols/Weather/weather_userinfo.cpp b/protocols/Weather/weather_userinfo.cpp index ba9ee83570..c0b196bf4d 100644 --- a/protocols/Weather/weather_userinfo.cpp +++ b/protocols/Weather/weather_userinfo.cpp @@ -363,17 +363,7 @@ void LoadBriefInfoText(HWND hwndDlg, HANDLE hContact) else // set the display text and show the message box GetDisplay(&winfo, opt.bText, str); - - if (lpcp != CP_ACP) - { - SETTEXTEX textex; - textex.flags = ST_DEFAULT; - textex.codepage = lpcp; - - SendMessage(GetDlgItem(hwndDlg, IDC_MTEXT), EM_SETTEXTEX, (WPARAM)&textex, (LPARAM)str); - } - else - SetDlgItemText(hwndDlg, IDC_MTEXT, str); + SetDlgItemText(hwndDlg, IDC_MTEXT, str); GetDisplay(&winfo, opt.bTitle, str); SetWindowText(hwndDlg, str); -- cgit v1.2.3