This patch updates coreinfo to use the ACS_ macros for line graphics.

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3501 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index aa8be10..b9da49e 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -89,7 +89,7 @@
 
 	wmove(win, 1, 1);
 	for (i = 0; i < 78; i++)
-		waddch(win, '\304');
+		waddch(win, ACS_HLINE);
 }
 
 static void print_submenu(struct coreinfo_cat *cat)
diff --git a/payloads/coreinfo/lar_module.c b/payloads/coreinfo/lar_module.c
index 5333bf3..151d876 100644
--- a/payloads/coreinfo/lar_module.c
+++ b/payloads/coreinfo/lar_module.c
@@ -66,7 +66,7 @@
 
 	/* Draw a line down the middle. */
 	for (i = 2; i < 21; i++)
-		mvwaddch(win, i, 30, '\263');
+		mvwaddch(win, i, 30, ACS_VLINE);
 
 	/* Draw the names down the left side. */
 	for (i = 0; i < lcount; i++) {
diff --git a/payloads/coreinfo/nvram_module.c b/payloads/coreinfo/nvram_module.c
index 2c09f38..52f127af 100644
--- a/payloads/coreinfo/nvram_module.c
+++ b/payloads/coreinfo/nvram_module.c
@@ -36,9 +36,9 @@
 
 	/* Print vertical and horizontal line. */
 	for (i = 0; i < 18; i++)
-		mvwaddch(win, 3 + i, 3, '\263');
+		mvwaddch(win, 3 + i, 3, ACS_VLINE);
 	for (i = 0; i < 48; i++)
-		mvwaddch(win, 3, 3 + i, (i == 0) ? '\332' : '\304');
+		mvwaddch(win, 3, 3 + i, (i == 0) ? ACS_ULCORNER : ACS_HLINE);
 
 	/* Dump NVRAM contents. */
 	for (i = 1; i < 257; i++) {
diff --git a/payloads/coreinfo/pci_module.c b/payloads/coreinfo/pci_module.c
index b2cd8a0..d2c0591 100644
--- a/payloads/coreinfo/pci_module.c
+++ b/payloads/coreinfo/pci_module.c
@@ -144,11 +144,11 @@
 
 		if (i == 0) {
 			if (item != 0)
-				mvwprintw(win, 2 + i, 19, "\30");
+				mvwaddch(win, 2 + i, 19, ACS_UARROW);
 		}
 		if (i == MENU_VISIBLE - 1) {
 			if ((item + 1) < devices_index)
-				mvwprintw(win, 2 + i, 19, "\31");
+				mvwaddch(win, 2 + i, 19, ACS_DARROW);
 		}
 	}
 
@@ -160,12 +160,12 @@
 	wmove(win, 3, 25);
 
 	for (i = 0; i < 48; i++)
-		waddch(win, (i == 0) ? '\332' : '\304');
+		waddch(win, (i == 0) ? ACS_ULCORNER : ACS_HLINE);
 
 	for (i = 0; i < 4; i++) {
 		mvwprintw(win, 4 + i, 23, "%2.2X", i * 16);
 		wmove(win, 4 + i, 25);
-		waddch(win, '\263');
+		waddch(win, ACS_VLINE);
 	}
 
 	show_config_space(win, 4, 26, menu_selected);