diff options
Diffstat (limited to 'frontends/amiga/menu.c')
-rw-r--r-- | frontends/amiga/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/menu.c b/frontends/amiga/menu.c index 4fe4ce397..249ca0755 100644 --- a/frontends/amiga/menu.c +++ b/frontends/amiga/menu.c @@ -447,7 +447,7 @@ void ami_menu_refresh(struct Menu *menu, struct ami_menu_data **md, int menu_ite if(LIB_IS_AT_LEAST((struct Library *)IntuitionBase, 54, 6)) { /* find the address of the menu */ menu_item_obj = (Object *)IDoMethod((Object *)menu, MM_FINDID, 0, menu_item); -printf("%lx\n", menu_item_obj); + /* remove all children */ while((obj = (Object *)IDoMethod(menu_item_obj, MM_NEXTCHILD, 0, NULL)) != NULL) { IDoMethod(menu_item_obj, OM_REMMEMBER, obj); |