diff options
-rw-r--r-- | src/modules/metacontacts/meta_menu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp index 0717647f88..fdc05fe142 100644 --- a/src/modules/metacontacts/meta_menu.cpp +++ b/src/modules/metacontacts/meta_menu.cpp @@ -364,17 +364,17 @@ INT_PTR Meta_OnOff(WPARAM wParam, LPARAM lParam) bool bToggled = !db_mc_isEnabled();
db_set_b(0, META_PROTO, "Enabled", bToggled);
if (bToggled) {
- mi.icolibItem = GetIconHandle(I_MENU);
- mi.pszName = LPGEN("Toggle MetaContacts On");
- }
- else {
mi.icolibItem = GetIconHandle(I_MENUOFF);
mi.pszName = LPGEN("Toggle MetaContacts Off");
}
+ else {
+ mi.icolibItem = GetIconHandle(I_MENU);
+ mi.pszName = LPGEN("Toggle MetaContacts On");
+ }
Menu_ModifyItem(hMenuOnOff, &mi);
db_mc_enable(bToggled);
- Meta_HideMetaContacts(bToggled);
+ Meta_HideMetaContacts(!bToggled);
return 0;
}
|