summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-13 11:56:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-13 11:56:44 +0000
commit46d84d5009a0b3eb19246a9ff01fc60d002e811e (patch)
treef32a549197d337f82f5505a795cfbdf386258fa4
parentac915242316b042624ee1c4be88490c44e1cd4bd (diff)
missing UNSET_UID inserted
git-svn-id: http://svn.miranda-ng.org/main/trunk@15852 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/NewAwaySysMod/src/AwaySys.cpp1
-rw-r--r--protocols/JabberG/src/jabber_menu.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp
index ffbd9ae565..daf06ea463 100644
--- a/plugins/NewAwaySysMod/src/AwaySys.cpp
+++ b/plugins/NewAwaySysMod/src/AwaySys.cpp
@@ -664,6 +664,7 @@ int MirandaLoaded(WPARAM, LPARAM)
mi.position = 1000020000;
mi.name.t = LPGENT("Autoreply");
g_hToggleSOEContactMenuItem = Menu_AddContactMenuItem(&mi);
+ UNSET_UID(mi);
mi.flags = CMIF_TCHAR | CMIF_SYSTEM;
mi.root = g_hToggleSOEContactMenuItem;
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp
index f80c5e833d..f1c1a71f26 100644
--- a/protocols/JabberG/src/jabber_menu.cpp
+++ b/protocols/JabberG/src/jabber_menu.cpp
@@ -299,8 +299,8 @@ void g_MenuInit(void)
mi.position = -1999901011;
mi.hIcolibItem = g_GetIconHandle(IDI_NOTES);
g_hMenuDirectPresence[0] = Menu_AddContactMenuItem(&mi);
-
UNSET_UID(mi);
+
mi.flags |= CMIF_TCHAR | CMIF_SYSTEM;
mi.root = g_hMenuDirectPresence[0];
for (int i = 0; i < _countof(PresenceModeArray); i++) {
@@ -324,6 +324,7 @@ void g_MenuInit(void)
mi.position = -1999901011;
mi.hIcolibItem = g_GetIconHandle(IDI_JABBER);
g_hMenuResourcesRoot = Menu_AddContactMenuItem(&mi);
+ UNSET_UID(mi);
mi.flags |= CMIF_SYSTEM; // these menu items aren't tunable
mi.root = g_hMenuResourcesRoot;