diff options
Diffstat (limited to 'plugins/NoHistory/src/dllmain.cpp')
-rw-r--r-- | plugins/NoHistory/src/dllmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|