diff options
Diffstat (limited to 'plugins/Scriver/infobar.c')
-rw-r--r-- | plugins/Scriver/infobar.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Scriver/infobar.c b/plugins/Scriver/infobar.c index c98ef1dfe4..4387c4979a 100644 --- a/plugins/Scriver/infobar.c +++ b/plugins/Scriver/infobar.c @@ -83,12 +83,8 @@ void RefreshInfobar(InfobarWindowData* idat) { else
mir_sntprintf(szText, 2047, _T("%s"), TranslateTS(szXStatusName));
st.flags = ST_DEFAULT;
-#ifdef _UNICODE
- st.codepage = 1200;
-#else
- st.codepage = CP_ACP;
-#endif
- SendDlgItemMessage(hwnd, IDC_INFOBAR_NAME, EM_SETTEXTEX, (WPARAM) &st, (LPARAM)szContactName);
+ st.codepage = 1200;
+ SendDlgItemMessage(hwnd, IDC_INFOBAR_NAME, EM_SETTEXTEX, (WPARAM) &st, (LPARAM)szContactName);
SendDlgItemMessage(hwnd, IDC_INFOBAR_STATUS, EM_SETTEXTEX, (WPARAM) &st, (LPARAM)szContactStatusMsg);
hIcon = (HICON)SendDlgItemMessage(hwnd, IDC_XSTATUSICON, STM_SETICON, (WPARAM)hIcon, 0);
if (hIcon) {
|