[syslinux:elflink] ldlinux: Remove default bold attribute typo

syslinux-bot for Matt Fleming matt.fleming at intel.com
Tue Dec 4 04:15:07 PST 2012


Commit-ID:  ec2fb01506829d1346498542e7f2a42ff5645726
Gitweb:     http://www.syslinux.org/commit/ec2fb01506829d1346498542e7f2a42ff5645726
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Tue, 4 Dec 2012 11:56:04 +0000
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Tue, 4 Dec 2012 11:56:04 +0000

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 <ady-sf at hotmail.com>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>

---
 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 */


More information about the Syslinux-commits mailing list