diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-28 12:33:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-28 12:33:59 +0000 |
commit | 205c3f661328bac2583bf5ed2b3c140a1619db4a (patch) | |
tree | a9c101fef83d531fb45041a2e9fdce2636a529b5 /plugins/MetaContacts/src/meta_main.cpp | |
parent | 81dfe1bf71946f983584f6241d97046d5f897857 (diff) |
- PROTOTYPE_VIRTUAL returned back;
- unused code wiped out;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2537 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts/src/meta_main.cpp')
-rw-r--r-- | plugins/MetaContacts/src/meta_main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MetaContacts/src/meta_main.cpp b/plugins/MetaContacts/src/meta_main.cpp index 8096857d7d..5e4cea2186 100644 --- a/plugins/MetaContacts/src/meta_main.cpp +++ b/plugins/MetaContacts/src/meta_main.cpp @@ -188,7 +188,7 @@ extern "C" __declspec(dllexport) int Load(void) // that metacontacts: have the correct number of subcontacts, and have reasonable defaults
if (Meta_SetHandles()) {
// error - db corruption
- if (!db_get_b(0, META_PROTO, "DisabledMessageShown", 0)) {
+ if ( !db_get_b(0, META_PROTO, "DisabledMessageShown", 0)) {
MessageBox(0, Translate("Error - Database corruption.\nPlugin disabled."), Translate("MetaContacts"), MB_OK | MB_ICONERROR);
db_set_b(0, META_PROTO, "DisabledMessageShown", 1);
}
@@ -227,6 +227,5 @@ extern "C" __declspec(dllexport) int Load(void) // for clist_meta_mw - write hidden group name to DB
db_set_s(0, META_PROTO, "HiddenGroupName", META_HIDDEN_GROUP);
-
return 0;
}
|