diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-12-12 11:05:59 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-12-12 11:05:59 +0000 |
| commit | fb46ad63d731b1134b56f1c3b4163f294962d9d6 (patch) | |
| tree | 9ebf495841c070664eb5f782c48160a5849a693d /gnu/lib/libdialog/msgbox.c | |
| parent | 9ebd95e3ed397fad7c2e38d55cffab4658f12bff (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libdialog/msgbox.c')
| -rw-r--r-- | gnu/lib/libdialog/msgbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libdialog/msgbox.c b/gnu/lib/libdialog/msgbox.c index 65e7b4788704..0886dc13dbcd 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; |
