On Sat, 16 Aug 2008, Ulf Jordan wrote:

Hello!

Attached is a patch to update Bayou v0.3 to use ACS_ macros for the line drawing characters in the menu window border.

Build and run tested under QEMU with bayou-0.3+coreboot-v3.

Here's the patch rediffed against bayou in svn.

/ulf
Update bayou to use ACS_ macros for line drawing characters.

Signed-off-by: Ulf Jordan <[EMAIL PROTECTED]>

Index: bayou/menu.c
===================================================================
--- bayou/menu.c        (revision 3730)
+++ bayou/menu.c        (arbetskopia)
@@ -67,8 +67,8 @@
 
        wattrset(menuwin, COLOR_PAIR(3));
        wclear(menuwin);
-       wborder(menuwin, '\263', '\263', '\304', '\304', '\332',
-               '\277', '\300', '\331');
+       wborder(menuwin, ACS_VLINE, ACS_VLINE, ACS_HLINE, ACS_HLINE,
+               ACS_ULCORNER, ACS_URCORNER, ACS_LLCORNER, ACS_LRCORNER);
 
        wattrset(menuwin, COLOR_PAIR(4) | A_BOLD);
        mvwprintw(menuwin, 0, (menu_width - 17) / 2, " Payload Chooser ");
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to