diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-30 13:03:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-30 13:03:49 +0000 |
commit | 2b5aaa321425c6309ed912f04badd79e27e9549e (patch) | |
tree | 80172d95527460896e138db326bc4125c907b124 /protocols/Weather/weather_userinfo.cpp | |
parent | b947df9fed0907995842d4c7121157508feac65e (diff) |
further cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@231 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_userinfo.cpp')
-rw-r--r-- | protocols/Weather/weather_userinfo.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
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);
|