From ec2fb01506829d1346498542e7f2a42ff5645726 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Tue, 4 Dec 2012 11:56:04 +0000 Subject: [PATCH] ldlinux: Remove default bold attribute typo commit 82cbb1bd4133 ("ldlinux: Move DISPLAY file handling out of the core") introduced a typo where the foreground color was always bold when displaying a DISPLAY file. Reported-by: Ady Signed-off-by: Matt Fleming --- com32/elflink/ldlinux/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/elflink/ldlinux/msg.c b/com32/elflink/ldlinux/msg.c index fdb3c98..2efcc79 100644 --- a/com32/elflink/ldlinux/msg.c +++ b/com32/elflink/ldlinux/msg.c @@ -162,7 +162,7 @@ static void msg_normal(uint8_t data) if (TextAttribute & 0x40) printf("1;"); /* Foreground bright */ - printf("1;3%dm\033[", fg); + printf("3%dm\033[", fg); if (TextAttribute & 0x80) printf("5;"); /* Foreground blink */ -- 2.7.4