ldlinux: Remove default bold attribute typo
authorMatt Fleming <matt.fleming@intel.com>
Tue, 4 Dec 2012 11:56:04 +0000 (11:56 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Dec 2012 11:56:04 +0000 (11:56 +0000)
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@hotmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/msg.c

index fdb3c98..2efcc79 100644 (file)
@@ -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 */