From c4cb32b8534610a92931d825efefd6892e8412af Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Thu, 24 Dec 2009 23:23:22 +0100 Subject: More work on shell --- Source/Kernel/Devices/Display/VESADisplay.class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Kernel') diff --git a/Source/Kernel/Devices/Display/VESADisplay.class.cpp b/Source/Kernel/Devices/Display/VESADisplay.class.cpp index 11b0882..1025319 100644 --- a/Source/Kernel/Devices/Display/VESADisplay.class.cpp +++ b/Source/Kernel/Devices/Display/VESADisplay.class.cpp @@ -253,9 +253,9 @@ void VESADisplay::drawChar(u16int line, u16int col, WChar c, u8int color) { if (m_pixWidth == 2) memsetw((u16int*)p, bgcolor, 9); if (m_pixWidth == 3) { for (int i = 0; i < 9; i++) { - p[0] = (bgcolor >> 16); + p[0] = (bgcolor); p[1] = (bgcolor >> 8); - p[2] = (bgcolor); + p[2] = (bgcolor >> 16); p += 3; } p -= (9 * 3); -- cgit v1.2.3