mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
If a wrong color is specified, set the color value to 0xFFFFFF
This commit is contained in:
parent
4af2b199f4
commit
9dbe40704d
@ -25,7 +25,7 @@ namespace Video
|
||||
else if (Char >= 'A' && Char <= 'F')
|
||||
this->Buffers[Index]->Color = (this->Buffers[Index]->Color << 4) | (Char - 'A' + 10);
|
||||
else
|
||||
this->Buffers[Index]->Color = 0;
|
||||
this->Buffers[Index]->Color = 0xFFFFFF;
|
||||
if (WriteToUART)
|
||||
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write(Char);
|
||||
this->ColorPickerIteration++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user