diff options
Diffstat (limited to 'com32/hdt')
-rw-r--r-- | com32/hdt/hdt-menu.c | 8 | ||||
-rw-r--r-- | com32/hdt/hdt-menu.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c index c37fd41b..e3521dcb 100644 --- a/com32/hdt/hdt-menu.c +++ b/com32/hdt/hdt-menu.c @@ -84,7 +84,7 @@ TIMEOUTCODE ontimeout() } /* Keyboard handler for the menu system */ -void keys_handler(t_menusystem * ms, t_menuitem * mi, unsigned int scancode) +void keys_handler(t_menuitem * mi, unsigned int scancode) { char nc; @@ -99,11 +99,11 @@ void keys_handler(t_menusystem * ms, t_menuitem * mi, unsigned int scancode) //(isallowed(username,"editcmd") || isallowed(username,"root"))) { nc = getnumcols(); /* User typed TAB and has permissions to edit command line */ - gotoxy(EDITPROMPT, 1, ms->menupage); + gotoxy(EDITPROMPT, 1); csprint("Command line:", 0x07); editstring(mi->data, ACTIONLEN); - gotoxy(EDITPROMPT, 1, ms->menupage); - cprint(' ', 0x07, nc - 1, ms->menupage); + gotoxy(EDITPROMPT, 1); + cprint(' ', 0x07, nc - 1); } } diff --git a/com32/hdt/hdt-menu.h b/com32/hdt/hdt-menu.h index 1cd2c129..061fa680 100644 --- a/com32/hdt/hdt-menu.h +++ b/com32/hdt/hdt-menu.h @@ -82,7 +82,7 @@ struct s_hdt_menu { }; TIMEOUTCODE ontimeout(); -void keys_handler(t_menusystem * ms, t_menuitem * mi, unsigned int scancode); +void keys_handler(t_menuitem * mi, unsigned int scancode); // PCI Stuff int compute_PCI(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware); |