Add extra parameter (exit text) to new_menu() calls

This commit is contained in:
dsl 2003-06-04 19:09:50 +00:00
parent 3f8c566477
commit 8376bdad86
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: run.c,v 1.39 2003/06/03 11:54:49 dsl Exp $ */
/* $NetBSD: run.c,v 1.40 2003/06/04 19:09:50 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -90,7 +90,8 @@ do_logging(void)
int menu_no;
menu_no = new_menu ("Logging Functions", logmenu, 2, -1, 12,
0, 20, MC_SCROLL, NULL, NULL, "Pick an option to turn on or off.\n");
0, 20, MC_SCROLL, NULL, NULL,
"Pick an option to turn on or off.\n", NULL);
if (menu_no < 0) {
(void)fprintf(stderr, "Dynamic menu creation failed.\n");

View File

@ -1,4 +1,4 @@
/* $NetBSD: util.c,v 1.94 2003/06/03 11:54:49 dsl Exp $ */
/* $NetBSD: util.c,v 1.95 2003/06/04 19:09:50 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -1055,7 +1055,7 @@ set_timezone()
menu_no = new_menu(NULL, tz_menu, nfiles, 23, 9,
12, 32, MC_SCROLL|MC_NOSHORTCUT, NULL, NULL,
"\nPlease consult the install documents.");
"\nPlease consult the install documents.", NULL);
if (menu_no < 0)
goto done; /* error - skip timezone setting */