From 4810d4b1b7a47701b8e6c45490fb2643ea425123 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 23:13:56 +0000 Subject: rest of menu cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAPP/src/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/YAPP/src') diff --git a/plugins/YAPP/src/services.cpp b/plugins/YAPP/src/services.cpp index 232ffb19e8..0d6b116f3f 100644 --- a/plugins/YAPP/src/services.cpp +++ b/plugins/YAPP/src/services.cpp @@ -1,6 +1,6 @@ #include "common.h" -HANDLE hMenuShowHistory, hMenuToggleOnOff; +HGENMENU hMenuShowHistory, hMenuToggleOnOff; void StripBBCodesInPlace(wchar_t *text) { @@ -190,7 +190,7 @@ void UpdateMenu() CLISTMENUITEM mi = { sizeof(mi) }; mi.pszName = (char*)(db_get_b(0, MODULE, "Enabled", 1) == 1 ? LPGEN("Disable Popups") : LPGEN("Enable Popups")); mi.flags = CMIM_NAME;// | CMIM_ICON; - CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuToggleOnOff, (LPARAM)&mi); + Menu_ModifyItem(hMenuToggleOnOff, &mi); } INT_PTR PopupQuery(WPARAM wParam, LPARAM lParam) { -- cgit v1.2.3