summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-13 13:32:15 +0000
committerjkh <jkh@FreeBSD.org>1996-04-13 13:32:15 +0000
commit2d5b4f754ed0dd5ca6a7824a23a9c79d36da264a (patch)
tree75fa9d1786ffde4deed82bc4bb5c8264228a2aca /release/sysinstall/system.c
parent52978a6ce95dd0f923ee8fa236b96c972f6622d4 (diff)
downloadFreeBSD-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 'release/sysinstall/system.c')
-rw-r--r--release/sysinstall/system.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c
index 3622f90..14f125a 100644
--- a/release/sysinstall/system.c
+++ b/release/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;
}
OpenPOWER on IntegriCloud