aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/msg.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-12-04 11:56:04 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-12-04 11:56:04 +0000
commitec2fb01506829d1346498542e7f2a42ff5645726 (patch)
treeba8dec167915cd6264e70769c4e1773121c242d7 /com32/elflink/ldlinux/msg.c
parenta34065606d81607214158d396161cffe2e2d828a (diff)
downloadsyslinux-ec2fb01506829d1346498542e7f2a42ff5645726.tar.gz
syslinux-ec2fb01506829d1346498542e7f2a42ff5645726.tar.xz
syslinux-ec2fb01506829d1346498542e7f2a42ff5645726.zip
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@hotmail.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/msg.c')
-rw-r--r--com32/elflink/ldlinux/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/msg.c b/com32/elflink/ldlinux/msg.c
index fdb3c981..2efcc792 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 */