summaryrefslogtreecommitdiff
path: root/plugins/Console/Console.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Console/Console.c')
-rw-r--r--plugins/Console/Console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Console/Console.c b/plugins/Console/Console.c
index 9d4567da11..7692260239 100644
--- a/plugins/Console/Console.c
+++ b/plugins/Console/Console.c
@@ -1384,7 +1384,7 @@ static int OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam)
mi.position=1000000000;
mi.ptszName=(IsWindowVisible(hwndConsole))?TranslateT("Hide Console"):TranslateT("Show Console");
mi.pszService=MS_CONSOLE_SHOW_HIDE;
- hMenu = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);
+ hMenu = Menu_AddMainMenuItem(&mi);
OnFontChange(0,0);
OnColourChange(0,0);