1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Fix some display bogons in the label editor.

This commit is contained in:
Jordan K. Hubbard 1996-04-29 05:09:23 +00:00
parent d402093152
commit 1bfda8cb03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15442
3 changed files with 24 additions and 6 deletions

View File

@ -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.45 1996/04/28 03:27:08 jkh Exp $
* $Id: label.c,v 1.46 1996/04/28 22:54:18 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -228,8 +228,10 @@ record_label_chunks(Device **devs)
label_chunk_info[j].c = NULL;
if (here >= j)
here = j ? j - 1 : 0;
if (ChunkWin)
if (ChunkWin) {
wclear(ChunkWin);
wrefresh(ChunkWin);
}
else
ChunkWin = newwin(CHUNK_ROW_MAX - ChunkPartStartRow, 76, ChunkPartStartRow, 0);
}
@ -509,6 +511,10 @@ diskLabel(char *str)
beep();
msg = NULL;
}
else {
move(23, 0);
clrtoeol();
}
key = toupper(getch());
switch (key) {
int i;

View File

@ -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.45 1996/04/28 03:27:08 jkh Exp $
* $Id: label.c,v 1.46 1996/04/28 22:54:18 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -228,8 +228,10 @@ record_label_chunks(Device **devs)
label_chunk_info[j].c = NULL;
if (here >= j)
here = j ? j - 1 : 0;
if (ChunkWin)
if (ChunkWin) {
wclear(ChunkWin);
wrefresh(ChunkWin);
}
else
ChunkWin = newwin(CHUNK_ROW_MAX - ChunkPartStartRow, 76, ChunkPartStartRow, 0);
}
@ -509,6 +511,10 @@ diskLabel(char *str)
beep();
msg = NULL;
}
else {
move(23, 0);
clrtoeol();
}
key = toupper(getch());
switch (key) {
int i;

View File

@ -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.45 1996/04/28 03:27:08 jkh Exp $
* $Id: label.c,v 1.46 1996/04/28 22:54:18 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -228,8 +228,10 @@ record_label_chunks(Device **devs)
label_chunk_info[j].c = NULL;
if (here >= j)
here = j ? j - 1 : 0;
if (ChunkWin)
if (ChunkWin) {
wclear(ChunkWin);
wrefresh(ChunkWin);
}
else
ChunkWin = newwin(CHUNK_ROW_MAX - ChunkPartStartRow, 76, ChunkPartStartRow, 0);
}
@ -509,6 +511,10 @@ diskLabel(char *str)
beep();
msg = NULL;
}
else {
move(23, 0);
clrtoeol();
}
key = toupper(getch());
switch (key) {
int i;