Skip to content

Commit

Permalink
Changes for new _menu interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey A. Chernov authored and Andrey A. Chernov committed Feb 15, 1995
1 parent 895aadb commit 12430b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gnu/usr.bin/dialog/dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion sbin/sysinstall/stage0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 12430b3

Please sign in to comment.