Skip to content

Commit 79d6e53

Browse files
Roel KluinSam Ravnborg
authored andcommitted
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 <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
1 parent e31a94e commit 79d6e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kconfig/lxdialog/inputbox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int dialog_inputbox(const char *title, const char *prompt, int height, int width
8989
box_y = y + 2;
9090
box_x = (width - box_width) / 2;
9191
draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2,
92-
dlg.border.atr, dlg.dialog.atr);
92+
dlg.dialog.atr, dlg.border.atr);
9393

9494
print_buttons(dialog, height, width, 0);
9595

0 commit comments

Comments
 (0)