diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-09-28 17:31:47 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-09-28 17:31:47 +0000 |
commit | 90f539947aa80022249fd73cc6d72f568803e80b (patch) | |
tree | 1a6dafbb36a6d600687864c0bdda2bb8a25dd688 /plugins | |
parent | 7f03c841d35528edf768d867a4c2c7740e32ad62 (diff) |
do not translate account names
git-svn-id: http://svn.miranda-ng.org/main/trunk@1722 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Utils/mir_options.cpp | 4 |
1 files 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);
}
|