diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-05 17:25:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-05 17:25:28 +0000 |
commit | eb3fe620e910ea65bd8ee73f2855e77ddcbf4992 (patch) | |
tree | 1cf78ced21c46b8d636c09e3e0d0490d9e057930 /src/modules | |
parent | d977fc1fbf57cb8fd28fd39c45a5f5cfedad5f60 (diff) |
fix for the missing dlls in account list
git-svn-id: http://svn.miranda-ng.org/main/trunk@2982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/protocols/protoopts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp index 847fd15839..af8621bc73 100644 --- a/src/modules/protocols/protoopts.cpp +++ b/src/modules/protocols/protoopts.cpp @@ -660,7 +660,7 @@ INT_PTR CALLBACK AccMgrDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM for (i=0; i < accounts.getCount(); i++) {
PROTOACCOUNT *p = accounts[i];
PROTOCOLDESCRIPTOR *pd = Proto_IsProtocolLoaded(p->szProtoName);
- if (pd == NULL || pd->type != PROTOTYPE_PROTOCOL)
+ if (pd != NULL && pd->type != PROTOTYPE_PROTOCOL)
continue;
int iItem = SendMessage(hList, LB_ADDSTRING, 0, (LPARAM)p->tszAccountName);
|