Changes for new _menu interface

This commit is contained in:
Andrey A. Chernov 1995-02-15 19:48:10 +00:00
parent 895aadbcfb
commit 12430b365a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6459
2 changed files with 3 additions and 3 deletions

View File

@ -230,8 +230,8 @@ int main(int argc, unsigned char *argv[])
init_dialog();
retval = dialog_menu(title, argv[offset+2], atoi(argv[offset+3]),
atoi(argv[offset+4]), atoi(argv[offset+5]),
(argc-offset-6)/2, argv+offset + 6, result);
(argc-offset-6)/2, argv+offset + 6, result,
NULL, NULL);
dialog_update();
if (retval == 0)
fputs(result, stderr);

View File

@ -48,7 +48,7 @@ stage0()
{
evil_goto:
if (dialog_menu("Welcome to FreeBSD!",
"Use ALT-F2 and ALT-F1 to toggle between debugging\ninformation screen (ALT-F2) or this dialog screen (ALT-F1)\n\nPlease select one of the following options:", -1, -1, 8, 8, welcome, selection))
"Use ALT-F2 and ALT-F1 to toggle between debugging\ninformation screen (ALT-F2) or this dialog screen (ALT-F1)\n\nPlease select one of the following options:", -1, -1, 8, 8, welcome, selection, NULL, NULL))
ExitSysinstall();
switch (atoi(selection)) {