diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-09-20 02:48:48 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-09-20 02:48:48 +0000 |
commit | c3a6bc8315d4e63d706043ef847dfd1d759541c1 (patch) | |
tree | fa98ab7a9f26d2b79a10b99980ee1cda83a3e8b4 /usr.sbin/sade/label.c | |
parent | 4a595144c044c69a673534cc44bf73fc54144be0 (diff) | |
download | src-c3a6bc8315d4e63d706043ef847dfd1d759541c1.tar.gz src-c3a6bc8315d4e63d706043ef847dfd1d759541c1.zip |
Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
Notes
Notes:
svn path=/head/; revision=29628
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 161560dc91dc..0750fe1305ce 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 |