diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-12 11:05:59 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-12 11:05:59 +0000 |
commit | 9c09bbeddd8c8352b4f0c826f35ce9892ac27ea2 (patch) | |
tree | 9ebf495841c070664eb5f782c48160a5849a693d /gnu/lib | |
parent | 76dcb3401348249babd3f45f7f91c492ee3ce2e9 (diff) | |
download | FreeBSD-src-9c09bbeddd8c8352b4f0c826f35ce9892ac27ea2.zip FreeBSD-src-9c09bbeddd8c8352b4f0c826f35ce9892ac27ea2.tar.gz |
Line up some of these OK boxes properly again.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libdialog/msgbox.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/prgbox.c | 2 | ||||
-rw-r--r-- | gnu/lib/libdialog/textbox.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gnu/lib/libdialog/msgbox.c b/gnu/lib/libdialog/msgbox.c index 65e7b47..0886dc1 100644 --- a/gnu/lib/libdialog/msgbox.c +++ b/gnu/lib/libdialog/msgbox.c @@ -93,7 +93,7 @@ int dialog_msgbox(unsigned char *title, unsigned char *prompt, int height, int w for (i = 0; i < width-2; i++) waddch(dialog, ' '); display_helpline(dialog, height-1, width); - print_button(dialog, " OK ", height-2, width/2-4, TRUE); + print_button(dialog, " OK ", height-2, width/2-6, TRUE); wrefresh(dialog); while (key != ESC && key != '\n' && key != ' ' && key != '\r') key = wgetch(dialog); @@ -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, " OK ", height-2, width/2-2, TRUE); + print_button(dialog, " OK ", height-2, width/2-6, TRUE); wattrset(dialog, dialog_attr); theight = height - 4; diff --git a/gnu/lib/libdialog/prgbox.c b/gnu/lib/libdialog/prgbox.c index 951d666..80f6ff5 100644 --- a/gnu/lib/libdialog/prgbox.c +++ b/gnu/lib/libdialog/prgbox.c @@ -130,7 +130,7 @@ int dialog_prgbox(unsigned char *title, const unsigned char *line, int height, i for (i = 0; i < width-2; i++) waddch(dialog, ' '); display_helpline(dialog, height-1, width); - print_button(dialog, " OK ", height-2, width/2-4, TRUE); + print_button(dialog, " OK ", height-2, width/2-6, TRUE); wrefresh(dialog); while (key != ESC && key != '\n' && key != ' ' && key != '\r') key = wgetch(dialog); diff --git a/gnu/lib/libdialog/textbox.c b/gnu/lib/libdialog/textbox.c index a26247b..ec0013b 100644 --- a/gnu/lib/libdialog/textbox.c +++ b/gnu/lib/libdialog/textbox.c @@ -136,7 +136,7 @@ int dialog_textbox(unsigned char *title, unsigned char *file, int height, int wi } display_helpline(dialog, height-1, width); - print_button(dialog, " OK ", height-2, width/2-2, TRUE); + print_button(dialog, " OK ", height-2, width/2-6, TRUE); wnoutrefresh(dialog); getyx(dialog, cur_y, cur_x); /* Save cursor position */ |