summaryrefslogtreecommitdiff
path: root/plugins/Scriver/msgtimedout.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/msgtimedout.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/msgtimedout.c')
-rw-r--r--plugins/Scriver/msgtimedout.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/Scriver/msgtimedout.c b/plugins/Scriver/msgtimedout.c
index c874068799..4a63acfa3a 100644
--- a/plugins/Scriver/msgtimedout.c
+++ b/plugins/Scriver/msgtimedout.c
@@ -46,14 +46,8 @@ INT_PTR CALLBACK ErrorDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
if (ewd->szText) {
SETTEXTEX st = {0};
st.flags = ST_DEFAULT;
- #ifdef _UNICODE
- st.codepage = 1200;
- #else
- st.codepage = CP_ACP;
- if (ewd->queueItem != NULL) {
- st.codepage = ewd->queueItem->codepage;
- }
- #endif
+ st.codepage = 1200;
+
SendDlgItemMessage(hwndDlg, IDC_MSGTEXT, EM_SETTEXTEX, (WPARAM) &st, (LPARAM)ewd->szText);
}
if (ewd->szName) {