summaryrefslogtreecommitdiffstats
path: root/sbin/sysinstall
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-24 21:50:26 +0000
committerache <ache@FreeBSD.org>1994-11-24 21:50:26 +0000
commitda72abc9ca19eaf9dad69bd7766a790dc978ef96 (patch)
tree530132a7f3a3e2476cb5f97256e7d970a175d250 /sbin/sysinstall
parent856011690c464278ca93d9654d921ea6d17c743b (diff)
downloadFreeBSD-src-da72abc9ca19eaf9dad69bd7766a790dc978ef96.zip
FreeBSD-src-da72abc9ca19eaf9dad69bd7766a790dc978ef96.tar.gz
Fix draw_box dims
Diffstat (limited to 'sbin/sysinstall')
-rw-r--r--sbin/sysinstall/label.c2
-rw-r--r--sbin/sysinstall/mbr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/sysinstall/label.c b/sbin/sysinstall/label.c
index 14b8e7e..570835e 100644
--- a/sbin/sysinstall/label.c
+++ b/sbin/sysinstall/label.c
@@ -217,7 +217,7 @@ edit_disklabel(int disk)
keypad(window, TRUE);
- draw_box(window, 0, 0, 24, 79, dialog_attr, border_attr);
+ draw_box(window, 0, 0, LINES, COLS, dialog_attr, border_attr);
/* Only one toggle to set up */
for (i=0; i < MAXPARTITIONS; i++)
diff --git a/sbin/sysinstall/mbr.c b/sbin/sysinstall/mbr.c
index 8202087..d1e201b 100644
--- a/sbin/sysinstall/mbr.c
+++ b/sbin/sysinstall/mbr.c
@@ -352,7 +352,7 @@ edit_mbr(int disk)
keypad(window, TRUE);
dialog_clear_norefresh();
- draw_box(window, 0, 0, 24, 79, dialog_attr, border_attr);
+ draw_box(window, 0, 0, LINES, COLS, dialog_attr, border_attr);
cur_field = 1;
ok = 0;
OpenPOWER on IntegriCloud