summaryrefslogtreecommitdiff
path: root/plugins/Dbx_tree
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-04 13:50:36 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-04 13:50:36 +0000
commitfc477d493da24a91dd9d095fbcf74a9b09c15fa8 (patch)
treea08c1edef2bd4ea929094023308ea92905378be7 /plugins/Dbx_tree
parenta5a3db4393d85407ff4c5668d88860e06158abd0 (diff)
returned some cosmetic fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@757 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_tree')
-rw-r--r--plugins/Dbx_tree/Compatibility.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Dbx_tree/Compatibility.cpp b/plugins/Dbx_tree/Compatibility.cpp
index 38b8f92383..4cfe37925b 100644
--- a/plugins/Dbx_tree/Compatibility.cpp
+++ b/plugins/Dbx_tree/Compatibility.cpp
@@ -855,12 +855,11 @@ bool CompatibilityRegister()
hContactAddedEvent = CreateHookableEvent(ME_DB_CONTACT_ADDED);
return true;
}
+
bool CompatibilityUnRegister()
{
- int i;
- for (i = 0; i < sizeof(gCompServices) / sizeof(gCompServices[0]); ++i)
- {
+ for (int i = 0; i < SIZEOF(gCompServices); ++i)
DestroyServiceFunction(gCompServices[i]);
- }
+
return true;
}