diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-10-11 03:36:25 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-10-11 03:36:25 +0300 |
commit | e249aaeb9de2b3465053996f7d228e6b46f913bf (patch) | |
tree | 2130d2bf7a41789fe9bab6b8c14bd313366e3010 /src/options.cpp | |
parent | 2a6bd5dea23c3e41b3d2ce126de14183584778ac (diff) |
merged with miranda_ng main repo
Diffstat (limited to 'src/options.cpp')
-rwxr-xr-x | src/options.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/options.cpp b/src/options.cpp index 76e448e..4bd0886 100755 --- a/src/options.cpp +++ b/src/options.cpp @@ -173,12 +173,12 @@ INT_PTR CALLBACK ProtoDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { TranslateDialogDefault(hwnd); int n; - PROTOCOLDESCRIPTOR** pppd; - if(!CallService(MS_PROTO_ENUMPROTOCOLS, (LPARAM)&n, (WPARAM)&pppd)) + PROTOACCOUNT **pppd; + if(!ProtoEnumAccounts(&n, &pppd)) for(int i = 0; i < n; ++i) { - SendDlgItemMessageA(hwnd, (ProtoInList(pppd[i]->szName) ? ID_USEDPROTO : ID_ALLPROTO), - LB_ADDSTRING, 0, (LPARAM)pppd[i]->szName); + SendDlgItemMessageA(hwnd, (ProtoInList(pppd[i]->szModuleName) ? ID_USEDPROTO : ID_ALLPROTO), + LB_ADDSTRING, 0, (LPARAM)pppd[i]->szModuleName); } } return TRUE; |