aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-01-25 14:32:38 +0000
committerMatt Fleming <matt.fleming@intel.com>2013-01-25 14:32:38 +0000
commita2d79191b501276026a0a16ec2fa664630a20476 (patch)
tree9b14e4646ac34f090309a9625b9b7014434e5a6d /com32/elflink
parentcb1f36b1996e259c29dde9deca4369774e90c020 (diff)
downloadsyslinux-a2d79191b501276026a0a16ec2fa664630a20476.tar.gz
syslinux-a2d79191b501276026a0a16ec2fa664630a20476.tar.xz
syslinux-a2d79191b501276026a0a16ec2fa664630a20476.zip
ldlinux: Correct the attribute bit for foreground brightsyslinux-5.01
The foreground bright bit number is bit 3. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink')
-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 5365eec7..9ded33ef 100644
--- a/com32/elflink/ldlinux/msg.c
+++ b/com32/elflink/ldlinux/msg.c
@@ -100,7 +100,7 @@ static void set_fgbg(void)
bg = convert_to_pcdisplay[((TextAttribute >> 4) & 0x7)];
printf("\033[");
- if (TextAttribute & 0x40)
+ if (TextAttribute & 0x8)
printf("1;"); /* Foreground bright */
printf("3%dm\033[", fg);