From f6715386a8811060fc75fdbe5b26b7d11b489eea Mon Sep 17 00:00:00 2001 From: stegerg Date: Sun, 4 Jun 2006 17:12:49 +0000 Subject: [PATCH] Typo: MUIM_Window_(Get|Set)MenuState did not call Window_(Get|Set)Menustate but Window_(Get|Set)MenuCheck. git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@24506 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/muimaster/classes/window.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/workbench/libs/muimaster/classes/window.c b/workbench/libs/muimaster/classes/window.c index fbc243318..ff2184cda 100644 --- a/workbench/libs/muimaster/classes/window.c +++ b/workbench/libs/muimaster/classes/window.c @@ -3626,8 +3626,6 @@ static IPTR Window_SetMenuCheck(struct IClass *cl, Object *obj, struct MUIP_Wind return 0; } -#if 0 /* unused? */ - /************************************************************************** MUIM_Window_GetMenuState **************************************************************************/ @@ -3659,8 +3657,6 @@ static IPTR Window_SetMenuState(struct IClass *cl, Object *obj, struct MUIP_Wind return 0; } -#endif /* unused? */ - /************************************************************************** MUIM_Window_DrawBackground **************************************************************************/ @@ -3823,8 +3819,8 @@ BOOPSI_DISPATCHER(IPTR, Window_Dispatcher, cl, obj, msg) case MUIM_Window_FreeGadgetID: return Window_FreeGadgetID(cl, obj, (APTR)msg); case MUIM_Window_GetMenuCheck: return Window_GetMenuCheck(cl, obj, (APTR)msg); case MUIM_Window_SetMenuCheck: return Window_SetMenuCheck(cl, obj, (APTR)msg); - case MUIM_Window_GetMenuState: return Window_GetMenuCheck(cl, obj, (APTR)msg); - case MUIM_Window_SetMenuState: return Window_SetMenuCheck(cl, obj, (APTR)msg); + case MUIM_Window_GetMenuState: return Window_GetMenuState(cl, obj, (APTR)msg); + case MUIM_Window_SetMenuState: return Window_SetMenuState(cl, obj, (APTR)msg); case MUIM_Window_DrawBackground: return Window_DrawBackground(cl, obj, (APTR)msg); case MUIM_Window_ToFront: return Window_ToFront(cl, obj, (APTR)msg); case MUIM_Window_ToBack: return Window_ToBack(cl, obj, (APTR)msg); -- 2.11.4.GIT