From b9d4564d0fd90716cfa6ccfb4bb034a5ca9d64c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 Oct 2013 15:07:26 +0000 Subject: - rare crash fix in Smileys; - fix for the empty menu item's name in MenuItemEx - typo in AVS git-svn-id: http://svn.miranda-ng.org/main/trunk@6587 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'plugins/MenuItemEx') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index d2b0a2be58..bbed4dd6db 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -1,18 +1,17 @@ #include "menuex.h" -#define MS_SETINVIS "MenuEx/SetInvis" -#define MS_SETVIS "MenuEx/SetVis" -#define MS_HIDE "MenuEx/Hide" -#define MS_IGNORE "MenuEx/Ignore" -#define MS_PROTO "MenuEx/ChangeProto" -#define MS_ADDED "MenuEx/SendAdded" -#define MS_AUTHREQ "MenuEx/SendAuthReq" -#define MS_COPYID "MenuEx/CopyID" -#define MS_RECVFILES "MenuEx/RecvFiles" -#define MS_STATUSMSG "MenuEx/CopyStatusMsg" -#define MS_COPYIP "MenuEx/CopyIP" -#define MS_COPYMIRVER "MenuEx/CopyMirVer" - +#define MS_SETINVIS "MenuEx/SetInvis" +#define MS_SETVIS "MenuEx/SetVis" +#define MS_HIDE "MenuEx/Hide" +#define MS_IGNORE "MenuEx/Ignore" +#define MS_PROTO "MenuEx/ChangeProto" +#define MS_ADDED "MenuEx/SendAdded" +#define MS_AUTHREQ "MenuEx/SendAuthReq" +#define MS_COPYID "MenuEx/CopyID" +#define MS_RECVFILES "MenuEx/RecvFiles" +#define MS_STATUSMSG "MenuEx/CopyStatusMsg" +#define MS_COPYIP "MenuEx/CopyIP" +#define MS_COPYMIRVER "MenuEx/CopyMirVer" const int vf_default = VF_VS|VF_HFL|VF_IGN|VF_CID|VF_SHOWID|VF_RECV|VF_STAT|VF_SMNAME|VF_CIDN|VF_CIP; @@ -1025,7 +1024,7 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) hmenuOff = Menu_AddContactMenuItem(&mi); mi.position++; - mi.ptszName = NULL; + mi.ptszName = LPGENT("Hide from list"); mi.pszService = MS_HIDE; hmenuHide = Menu_AddContactMenuItem(&mi); -- cgit v1.2.3