diff options
Diffstat (limited to 'plugins/MyDetails')
-rw-r--r-- | plugins/MyDetails/src/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index 61b65eeb68..a040de6e63 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -53,7 +53,7 @@ HWND hwnd_container = NULL; int frame_id = -1;
bool g_bFramesExist = false;
-HANDLE hMenuShowHideFrame = 0;
+HGENMENU hMenuShowHideFrame = 0;
#define FONT_NICK 0
#define FONT_PROTO 1
@@ -2276,7 +2276,7 @@ void FixMainMenu() else
mi.ptszName = LPGENT("Show My Details");
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuShowHideFrame, (LPARAM)&mi);
+ Menu_ModifyItem(hMenuShowHideFrame, &mi);
}
#include <math.h>
|