diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-24 23:23:22 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-24 23:23:22 +0100 |
commit | c4cb32b8534610a92931d825efefd6892e8412af (patch) | |
tree | 422755c6f7b93604823f3f4270ea6d46d0183326 /Source/Kernel | |
parent | 714902e17c91200f53d0ad9a356466ee60b59d98 (diff) | |
download | Melon-c4cb32b8534610a92931d825efefd6892e8412af.tar.gz Melon-c4cb32b8534610a92931d825efefd6892e8412af.zip |
More work on shell
Diffstat (limited to 'Source/Kernel')
-rw-r--r-- | Source/Kernel/Devices/Display/VESADisplay.class.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |