diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-12-12 11:06:32 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-12-12 11:06:32 +0000 |
| commit | 3581ef2de910fda13bdd65a1acef376d80ee6cee (patch) | |
| tree | e327a6e3c0da31837306c189760f84bed2530f7c /gnu/lib/libdialog/msgbox.c | |
| parent | 3460dd628d7360050c898420621bcfe2900096bb (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; |
