From 90f539947aa80022249fd73cc6d72f568803e80b Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 28 Sep 2012 17:31:47 +0000 Subject: do not translate account names git-svn-id: http://svn.miranda-ng.org/main/trunk@1722 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Utils/mir_options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Utils/mir_options.cpp b/plugins/Utils/mir_options.cpp index 24cd744907..b08f95a4ed 100644 --- a/plugins/Utils/mir_options.cpp +++ b/plugins/Utils/mir_options.cpp @@ -241,7 +241,7 @@ INT_PTR CALLBACK SaveOptsDlgProc(OptPageControl *controls, int controlsSize, cha int count; PROTOACCOUNT **protos; - CallService(MS_PROTO_ENUMACCOUNTS, (WPARAM)&count, (LPARAM)&protos); + ProtoEnumAccounts(&count,&protos); for (int i = 0; i < count; i++) { PROTOACCOUNT *p = protos[i]; @@ -260,7 +260,7 @@ INT_PTR CALLBACK SaveOptsDlgProc(OptPageControl *controls, int controlsSize, cha BOOL show = (BOOL)db_get_b(NULL, module, setting, ctrl->dwDefValue); lvi.lParam = (LPARAM)setting; - lvi.pszText = TranslateTS(p->tszAccountName); + lvi.pszText = p->tszAccountName; lvi.iItem = ListView_InsertItem(hwndProtocols, &lvi); ListView_SetItemState(hwndProtocols, lvi.iItem, INDEXTOSTATEIMAGEMASK(show?2:1), LVIS_STATEIMAGEMASK); } -- cgit v1.2.3