diff options
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);
|