diff options
author | jkh <jkh@FreeBSD.org> | 1997-09-20 02:48:48 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-09-20 02:48:48 +0000 |
commit | d940e50d4cd0913ec8126c0b728a7f67842ffefd (patch) | |
tree | fce6bf134768755c29e602a1857a968bdb833c86 /usr.sbin/sade/label.c | |
parent | e28110371d10d8786ddcae7b35258ab24617fa8d (diff) | |
download | FreeBSD-src-d940e50d4cd0913ec8126c0b728a7f67842ffefd.zip FreeBSD-src-d940e50d4cd0913ec8126c0b728a7f67842ffefd.tar.gz |
Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
Diffstat (limited to 'usr.sbin/sade/label.c')
-rw-r--r-- | usr.sbin/sade/label.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c index 161560d..0750fe1 100644 --- a/usr.sbin/sade/label.c +++ b/usr.sbin/sade/label.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: label.c,v 1.73 1997/09/09 16:32:01 jkh Exp $ + * $Id: label.c,v 1.74 1997/09/16 10:14:21 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -238,8 +238,6 @@ record_label_chunks(Device **devs) label_chunk_info[j].c = NULL; if (here >= j) { here = j ? j - 1 : 0; - pslice_focus = here; /* VEG 09/05/97 */ - label_focus = here; /* VEG 09/05/97 */ } if (ChunkWin) { wclear(ChunkWin); @@ -607,6 +605,8 @@ diskLabel(char *str) Device **devs; int override_focus_adjust = 0; + label_focus = 0; + pslice_focus = 0; devs = deviceFind(NULL, DEVICE_TYPE_DISK); if (!devs) { msgConfirm("No disks found!"); @@ -1067,7 +1067,7 @@ diskLabel(char *str) msg = _msg; break; } - if (override_focus_adjust) { + if (!override_focus_adjust) { if (label_chunk_info[here].type == PART_SLICE) pslice_focus = here; else |