]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kconfig: reversed borderlines in inputbox
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 20 Mar 2008 20:30:32 +0000 (21:30 +0100)
committerSam Ravnborg <sam@uranus.ravnborg.org>
Mon, 28 Apr 2008 20:27:26 +0000 (22:27 +0200)
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>
scripts/kconfig/lxdialog/inputbox.c

index 4946bd02b46d4324939b8ba7e03db1174359d645..616c60138183c8c9b74c3f2562f7e4a1e5b6d5d9 100644 (file)
@@ -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);