summaryrefslogtreecommitdiff
path: root/plugins/Scriver/infobar.c
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
commit721aea0764451e985d575236205808bbef298244 (patch)
tree3a1c566c364e5fc2fff86b87d494497e7de6f93d /plugins/Scriver/infobar.c
parent1784cdf49b8196219563795cf3b11b7c4c2a6746 (diff)
one more "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/infobar.c')
-rw-r--r--plugins/Scriver/infobar.c8
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) {