summaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/msgbox.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-03-29 19:51:48 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-03-29 19:51:48 +0000
commitab9b932c99ab56d74522baee8c7b3414fa17199b (patch)
tree6b4a7a5e75627c462ab5ccb8bf72060370ee06e3 /gnu/lib/libdialog/msgbox.c
parent79d07a3202ff6c9543aa1fea64376a7176476eee (diff)
Notes
Diffstat (limited to 'gnu/lib/libdialog/msgbox.c')
-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);
}