From e249aaeb9de2b3465053996f7d228e6b46f913bf Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 11 Oct 2012 03:36:25 +0300 Subject: merged with miranda_ng main repo --- src/options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/options.cpp') 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; -- cgit v1.2.3