kconfig: reversed borderlines in inputbox
Fix reversal of dlg.border.atr and dlg.dialog.atr for draw_box() Makes the inputbox look like expected Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ======= Cherry-picked from the Linux kernel. Change-Id: I596915aab0204ef0e392fefa56fad8e25204e207 Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3289 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
543aa7ba7b
commit
48757668a5
|
@ -89,7 +89,7 @@ do_resize:
|
||||||
box_y = y + 2;
|
box_y = y + 2;
|
||||||
box_x = (width - box_width) / 2;
|
box_x = (width - box_width) / 2;
|
||||||
draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2,
|
draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2,
|
||||||
dlg.border.atr, dlg.dialog.atr);
|
dlg.dialog.atr, dlg.border.atr);
|
||||||
|
|
||||||
print_buttons(dialog, height, width, 0);
|
print_buttons(dialog, height, width, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue