Skip to contentSkip to conversation

scripts/kconfig/lxdialog/inputbox.c: reversed draw_box(dlg.border.atr and dlg.dialog.atr) in dialog_inputbox()

PATCH In review Roel Kluin 2 participants 2 messages Mar 20, 2008 – Apr 28, 2008 Kconfig

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 scripts/kconfig/lxdialog/inputbox.c: reversed draw_box(dlg.border.atr and dlg.dialog.atr) in dialog_inputbox()

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

---

scripts/kconfig/lxdialog/inputbox.c +1 -1
index 4946bd0..616c601 100644
@@ -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);
 
#1 lore raw
Quoted 5 lines · Roel Kluin

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

Thanks Roel.
Tested and applied.

Sam