X-Git-Url: https://git.sur5r.net/?p=kconfig-frontends;a=blobdiff_plain;f=libs%2Flxdialog%2Fchecklist.c;h=8d016faa28d704be886cb1c6195a3bdca78d29b0;hp=3b15c08ec1fac369f9b6e0b01c738e46fa3efb2d;hb=6bc83be982e93c53a4fdeda9d60dcbb2a95c8f1b;hpb=7540dcc0384509c32521a65729b7609b534af362 diff --git a/libs/lxdialog/checklist.c b/libs/lxdialog/checklist.c index 3b15c08..8d016fa 100644 --- a/libs/lxdialog/checklist.c +++ b/libs/lxdialog/checklist.c @@ -168,13 +168,13 @@ do_resize: /* create new window for the list */ list = subwin(dialog, list_height, list_width, y + box_y + 1, - x + box_x + 1); + x + box_x + 1); keypad(list, TRUE); /* draw a box around the list items */ draw_box(dialog, box_y, box_x, list_height + 2, list_width + 2, - dlg.menubox_border.atr, dlg.menubox.atr); + dlg.menubox_border.atr, dlg.menubox.atr); /* Find length of longest item in order to center checklist */ check_x = 0;