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>
This commit is contained in:
parent
e31a94ed37
commit
79d6e539df
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ int dialog_inputbox(const char *title, const char *prompt, int height, int width
|
||||||
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 a new issue