summaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/prgbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libdialog/prgbox.c')
-rw-r--r--gnu/lib/libdialog/prgbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/prgbox.c b/gnu/lib/libdialog/prgbox.c
index 951d666dec92..80f6ff52d091 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);