summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-03-29 19:51:48 +0000
committerjkh <jkh@FreeBSD.org>1997-03-29 19:51:48 +0000
commit7325fee01efc19ed280609b1cf9a5e376b316646 (patch)
treee92dbd1d2a548ce3e20a47166f3e7c15af17cad0 /gnu/lib/libdialog
parentcbbcd6ad7e013d4f70319f0ef9f4128af7b08e6f (diff)
downloadFreeBSD-src-7325fee01efc19ed280609b1cf9a5e376b316646.zip
FreeBSD-src-7325fee01efc19ed280609b1cf9a5e376b316646.tar.gz
YAMF22
Diffstat (limited to 'gnu/lib/libdialog')
-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 4f88443..a544652 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);
}
OpenPOWER on IntegriCloud