diff options
Diffstat (limited to 'Source/Kernel/Devices/Display/VESADisplay.class.cpp')
-rw-r--r-- | Source/Kernel/Devices/Display/VESADisplay.class.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/Devices/Display/VESADisplay.class.cpp b/Source/Kernel/Devices/Display/VESADisplay.class.cpp index 2992910..d06aaee 100644 --- a/Source/Kernel/Devices/Display/VESADisplay.class.cpp +++ b/Source/Kernel/Devices/Display/VESADisplay.class.cpp @@ -313,7 +313,7 @@ bool VESADisplay::textScroll(u16int line, u16int col, u16int height, u16int widt for (u32int i = 0; i < width; i++) { drawChar(line + height - 1, col + i, " ", color); } - m_csrBuff.line--; + if (m_csrBuff.line == line + height - 1) m_csrBuff.line--; drawCsr(); return true; } |