summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_menu.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-05-03 18:04:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-05-03 18:04:15 +0000
commit61444e41cdfbad3ebfb487bf91dd7da46f1e4c52 (patch)
tree4a9d2d292bb0d85c0b621ca7a7c05ad185ad301b /src/modules/metacontacts/meta_menu.cpp
parent8054c771852aec548f4d648cafafc8fd6c1bf08e (diff)
fix for ignoring subs
git-svn-id: http://svn.miranda-ng.org/main/trunk@9118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_menu.cpp')
-rw-r--r--src/modules/metacontacts/meta_menu.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp
index bc6338bd10..4b43b4a5cb 100644
--- a/src/modules/metacontacts/meta_menu.cpp
+++ b/src/modules/metacontacts/meta_menu.cpp
@@ -436,7 +436,7 @@ void InitMenus()
mi.pszName = "";
char buffer[512];
- mir_snprintf(buffer, SIZEOF(buffer),"MetaContacts/MenuFunc%d", i);
+ mir_snprintf(buffer, SIZEOF(buffer), "MetaContacts/MenuFunc%d", i);
mi.pszService = buffer;
hMenuContact[i] = Menu_AddContactMenuItem(&mi);
@@ -451,7 +451,10 @@ void InitMenus()
mi.pszName = LPGEN("Toggle MetaContacts On");
Menu_ModifyItem(hMenuOnOff, &mi);
- Meta_HideMetaContacts(TRUE);
+ Meta_HideMetaContacts(true);
+ }
+ else {
+ Meta_SuppressStatus(options.bSuppressStatus);
+ Meta_HideMetaContacts(false);
}
- else Meta_SuppressStatus(options.bSuppressStatus);
}