diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-07 13:59:35 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-07 13:59:35 +0000 |
commit | a44081526ac43ed87bf59c215468cbba77f8b5e3 (patch) | |
tree | ef6041e0d9f5041e599d352d2153045f657d3b44 /plugins/QuickContacts | |
parent | 94c5be444065d09b7e48109894be15e5414af88b (diff) |
optimized r1802
git-svn-id: http://svn.miranda-ng.org/main/trunk@1803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickContacts')
-rw-r--r-- | plugins/QuickContacts/src/quickcontacts.cpp | 7 |
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
|