From 19b447116d804f94159be65d7e7e5039a990a1c2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 Dec 2015 17:59:36 +0000 Subject: it's not that simple (c) to move a piece of code to another place git-svn-id: http://svn.miranda-ng.org/main/trunk@15860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_menu.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index f1c1a71f26..47d98c5d87 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -292,8 +292,10 @@ void g_MenuInit(void) g_hMenuSendNote = Menu_AddContactMenuItem(&mi); CreateServiceFunction(mi.pszService, JabberMenuSendNote); + ////////////////////////////////////////////////////////////////////////////////////// // Direct Presence - SET_UID(mi, 0x89803943, 0xa87e, 0x4ae9, 0xbf, 0x79, 0xe3, 0xf3, 0xd6, 0x86, 0xf8, 0x3d); + + SET_UID(mi, 0x89803943, 0xa87e, 0x4ae9, 0xbf, 0x79, 0xe3, 0xf3, 0xd6, 0x86, 0xf8, 0x3d); mi.pszService = "Jabber/DirectPresenceDummySvc"; mi.name.a = LPGEN("Send Presence"); mi.position = -1999901011; @@ -314,11 +316,12 @@ void g_MenuInit(void) CreateServiceFunctionParam(mi.pszService, JabberMenuHandleDirectPresence, PresenceModeArray[i].mode); } - mi.flags &= ~(CMIF_TCHAR); - mi.root = NULL; - + ////////////////////////////////////////////////////////////////////////////////////// // Resource selector + SET_UID(mi, 0x32a7bb9d, 0x4d9, 0x49b3, 0xac, 0x8f, 0x83, 0xb5, 0x6b, 0xff, 0x4f, 0x5); + mi.flags = 0; + mi.root = NULL; mi.pszService = "Jabber/ResourceSelectorDummySvc"; mi.name.a = LPGEN("Jabber Resource"); mi.position = -1999901011; -- cgit v1.2.3