Skip to content

Commit

Permalink
kconfig: reversed borderlines in inputbox
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Roel Kluin authored and Sam Ravnborg committed Apr 28, 2008
1 parent e31a94e commit 79d6e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/lxdialog/inputbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int dialog_inputbox(const char *title, const char *prompt, int height, int width
box_y = y + 2;
box_x = (width - 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);

Expand Down

0 comments on commit 79d6e53

Please sign in to comment.