diff options
| author | Matt Fleming <matt.fleming@intel.com> | 2013-01-25 14:32:38 +0000 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2013-01-25 14:32:38 +0000 |
| commit | a2d79191b501276026a0a16ec2fa664630a20476 (patch) | |
| tree | 9b14e4646ac34f090309a9625b9b7014434e5a6d | |
| parent | cb1f36b1996e259c29dde9deca4369774e90c020 (diff) | |
| download | syslinux-5.01.tar.gz | |
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>
| -rw-r--r-- | com32/elflink/ldlinux/msg.c | 2 |
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); |
