diff options
Diffstat (limited to 'com32/hdt/hdt-menu.c')
-rw-r--r-- | com32/hdt/hdt-menu.c | 8 |
1 files changed, 4 insertions, 4 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); } } |