[PATCH] scripts/kconfig/lxdialog/inputbox.c: reversed draw_box(dlg.border.atrand dlg.dialog.atr) in dialog_inputbox()

From: Roel Kluin
Date: Thu Mar 20 2008 - 16:35:15 EST


Not tested, please confirm it's right.
---
Fix reversal of dlg.border.atr and dlg.dialog.atr for draw_box()

Signed-off-by: Roel Kluin <12o3l@xxxxxxxxxx>
---
diff --git a/scripts/kconfig/lxdialog/inputbox.c b/scripts/kconfig/lxdialog/inputbox.c
index 4946bd0..616c601 100644
--- a/scripts/kconfig/lxdialog/inputbox.c
+++ b/scripts/kconfig/lxdialog/inputbox.c
@@ -89,7 +89,7 @@ do_resize:
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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/