mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:15:07 +00:00
Kernel/Graphics: Send correct parameters to text console clear method
Apparently there was a wrong calculation result when we sent parameters from TextModeConsole::clear_vga_row method - and we should stick to the x, y mechanism of the clear method instead of doing the same calculation which made it to happen twice actually.
This commit is contained in:
parent
918dfa51a2
commit
093a598c87
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ void TextModeConsole::write(size_t x, size_t y, char ch, Color background, Color
|
|||
|
||||
void TextModeConsole::clear_vga_row(u16 row)
|
||||
{
|
||||
clear(row * width(), width(), width());
|
||||
clear(0, row, width());
|
||||
}
|
||||
|
||||
void TextModeConsole::write(char ch, bool critical)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue