summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-22 15:07:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-22 15:07:26 +0000
commitb9d4564d0fd90716cfa6ccfb4bb034a5ca9d64c6 (patch)
tree47c7b474aa9e4a65016e0422fbbce9ea96d5bc7f /plugins/MenuItemEx/src/main.cpp
parent62ee678fc4b2a6dc27cfe823b89e631de01d8e78 (diff)
- 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
Diffstat (limited to 'plugins/MenuItemEx/src/main.cpp')
-rw-r--r--plugins/MenuItemEx/src/main.cpp27
1 files changed, 13 insertions, 14 deletions
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);