diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-17 16:16:10 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-17 16:16:10 +0000 |
commit | ba4ac01f691bf3967591934b492175cddd2b4f75 (patch) | |
tree | 13aa7c092629ea71bd84cabc855175f786b2f9cc /usr.sbin/sysinstall/disks.c | |
parent | 073284dfb5fe8c0d2c72620fa127ad90e56861f9 (diff) | |
download | FreeBSD-src-ba4ac01f691bf3967591934b492175cddd2b4f75.zip FreeBSD-src-ba4ac01f691bf3967591934b492175cddd2b4f75.tar.gz |
1. Set a path to /stand by default.
2. Don't clear() when I can dialog_clear().
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 6dae821..22d7879 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.19 1995/05/16 11:37:10 jkh Exp $ + * $Id: disks.c,v 1.20 1995/05/17 14:39:38 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -79,7 +79,7 @@ print_chunks(Disk *d) int row; int i; - clear(); + dialog_clear(); attrset(A_NORMAL); mvaddstr(0, 0, "Disk name:\t"); attrset(A_REVERSE); addstr(d->name); attrset(A_NORMAL); @@ -244,12 +244,10 @@ diskPartition(Disk *d) case 'W': if (!msgYesNo("Are you sure you want to go into Wizard mode?\nNo seat belts whatsoever are provided!")) { - clear(); dialog_clear(); end_dialog(); DialogActive = FALSE; slice_wizard(d); - clear(); dialog_clear(); DialogActive = TRUE; record_chunks(d); @@ -273,7 +271,7 @@ diskPartition(Disk *d) msgConfirm(p); free(p); } - clear(); + dialog_clear(); refresh(); variable_set2(DISK_PARTITIONED, "yes"); return d; |