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/NoHistory/src/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NoHistory') diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp index babf696ccf..1d8caa5cd8 100644 --- a/plugins/NoHistory/src/dllmain.cpp +++ b/plugins/NoHistory/src/dllmain.cpp @@ -162,7 +162,7 @@ int PrebuildContactMenu(WPARAM wParam, LPARAM lParam) mi.ptszName = (remove ? LPGENT("Enable History") : LPGENT("Disable History")); mi.hIcon = (remove ? hIconKeep : hIconRemove); } - CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuToggle, (LPARAM)&mi); + Menu_ModifyItem(hMenuToggle, &mi); Menu_ShowItem(hMenuClear, !chat_room && db_event_count(hContact) > 0); return 0; -- cgit v1.2.3