summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/msgbox.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-11 18:22:16 +0000
committerjkh <jkh@FreeBSD.org>1996-07-11 18:22:16 +0000
commitd79c848b1509a3db3c92795bb2d684060926908f (patch)
treef1bb4d5097f04afdc423b04d0bc3634801d4d479 /gnu/lib/libdialog/msgbox.c
parent7df809ca1e4c5eb01cebee1fc92186d23ed0e4f7 (diff)
downloadFreeBSD-src-d79c848b1509a3db3c92795bb2d684060926908f.zip
FreeBSD-src-d79c848b1509a3db3c92795bb2d684060926908f.tar.gz
1. Remove some ancient bogons from when I initially added dialogMenuItem
support. 2. Have message boxes say "Continue" instead of "Exit"
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 ebc89eb..ba51628 100644
--- a/gnu/lib/libdialog/msgbox.c
+++ b/gnu/lib/libdialog/msgbox.c
@@ -171,7 +171,7 @@ dialog_mesgbox(unsigned char *title, unsigned char *prompt, int height, int widt
for (i = 0; i < width-2; i++)
waddch(dialog, ' ');
display_helpline(dialog, height-1, width);
- print_button(dialog, " EXIT ", height-2, width/2-4, TRUE);
+ print_button(dialog, " CONTINUE ", height-2, width/2-8, TRUE);
wattrset(dialog, dialog_attr);
theight = height - 4;
@@ -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-2);
+ wmove(dialog, height-2, width/2-6);
wrefresh(dialog);
while ((key != ESC) && (key != '\n') && (key != '\r')) {
key = wgetch(dialog);
OpenPOWER on IntegriCloud