summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-10-07 13:59:35 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-10-07 13:59:35 +0000
commita44081526ac43ed87bf59c215468cbba77f8b5e3 (patch)
treeef6041e0d9f5041e599d352d2153045f657d3b44
parent94c5be444065d09b7e48109894be15e5414af88b (diff)
optimized r1802
git-svn-id: http://svn.miranda-ng.org/main/trunk@1803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/QuickContacts/src/quickcontacts.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp
index d4be8da14c..697a64674e 100644
--- a/plugins/QuickContacts/src/quickcontacts.cpp
+++ b/plugins/QuickContacts/src/quickcontacts.cpp
@@ -132,12 +132,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
ProtoEnumAccounts(&pcount,&pdesc);
- opts.num_protos = 0;
- for (int loop=0;loop<pcount;loop++)
- {
-// if (pdesc[loop]->type==PROTOTYPE_PROTOCOL)
- opts.num_protos++;
- }
+ opts.num_protos = pcount;
// Add hotkey to multiple services