From e49984b67e103cfe415bb695c1eba27f25dd0270 Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Fri, 25 Jan 2013 22:51:07 +0800 Subject: [PATCH] Kernel/vterm - Fixed bug in \e[100m support --- KernelLand/Kernel/drv/vterm_vt100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KernelLand/Kernel/drv/vterm_vt100.c b/KernelLand/Kernel/drv/vterm_vt100.c index 6e791015..6d123e5c 100644 --- a/KernelLand/Kernel/drv/vterm_vt100.c +++ b/KernelLand/Kernel/drv/vterm_vt100.c @@ -196,7 +196,7 @@ void VT_int_ParseEscape_StandardLarge(tVTerm *Term, char CmdChar, int argc, int } // Background Colour - bright else if(100 <= args[argc] && args[argc] <= 107 ) { - colour_idx = args[argc]-10 + 8; + colour_idx = args[argc]-100 + 8; Term->CurColour &= 0xFFFF8000; Term->CurColour |= (Uint32)caVT100Colours[ colour_idx ]; } -- 2.20.1