summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-03-29 19:50:51 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-03-29 19:50:51 +0000
commit668b5184c866e29b2d251c498beb303c8b8f2b9e (patch)
tree9e0fcf9eefef9e8b9f790a635a2cb50379cb2c8c /gnu/lib
parent1e7f63411c94a22da0bbf1ce23ec1aa2e262ddb4 (diff)
Notes
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libdialog/msgbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libdialog/msgbox.c b/gnu/lib/libdialog/msgbox.c
index 4f8844360e21..a544652a356c 100644
--- a/gnu/lib/libdialog/msgbox.c
+++ b/gnu/lib/libdialog/msgbox.c
@@ -180,7 +180,7 @@ dialog_mesgbox(unsigned char *title, unsigned char *prompt, int height, int widt
max_lines = getnlines(prompt);
print_page(dialog, theight, width, prompt, startline, hscroll);
print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines);
- wmove(dialog, height-2, width/2-6);
+ wmove(dialog, height-2, width/2-3);
wrefresh(dialog);
while ((key != ESC) && (key != '\n') && (key != '\r')) {
key = wgetch(dialog);
@@ -230,7 +230,7 @@ dialog_mesgbox(unsigned char *title, unsigned char *prompt, int height, int widt
}
print_page(dialog, theight, width, prompt, startline, hscroll);
print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines);
- wmove(dialog, height-2, width/2-2);
+ wmove(dialog, height-2, width/2-3);
wrefresh(dialog);
}