diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-13 13:32:15 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-13 13:32:15 +0000 |
commit | 2d5b4f754ed0dd5ca6a7824a23a9c79d36da264a (patch) | |
tree | 75fa9d1786ffde4deed82bc4bb5c8264228a2aca /usr.sbin/sysinstall/system.c | |
parent | 52978a6ce95dd0f923ee8fa236b96c972f6622d4 (diff) | |
download | FreeBSD-src-2d5b4f754ed0dd5ca6a7824a23a9c79d36da264a.zip FreeBSD-src-2d5b4f754ed0dd5ca6a7824a23a9c79d36da264a.tar.gz |
1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r-- | usr.sbin/sysinstall/system.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index 3622f90..14f125a 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.48 1996/03/18 15:28:08 jkh Exp $ + * $Id: system.c,v 1.49 1996/03/21 09:30:17 jkh Exp $ * * Jordan Hubbard * @@ -129,21 +129,17 @@ systemDisplayHelp(char *file) snprintf(buf, FILENAME_MAX, "The %s file is not provided on this particular floppy image.", file); use_helpfile(NULL); use_helpline(NULL); - w = dupwin(newscr); + w = savescr(); dialog_mesgbox("Sorry!", buf, -1, -1); - touchwin(w); - wrefresh(w); - delwin(w); + restorescr(w); return 1; } else { use_helpfile(NULL); use_helpline(NULL); - w = dupwin(newscr); + w = savescr(); dialog_textbox(file, fname, LINES, COLS); - touchwin(w); - wrefresh(w); - delwin(w); + restorescr(w); } return 0; } |