summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-21 00:11:00 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-21 00:11:00 +0100
commita975053605a0f041fd2003792d81c80391527e71 (patch)
tree6c0c0fac346d111449411a3222911c1a363cbefc /Source/Kernel/Devices
parent2a9defea402eec36e075e9e835b804dcc6926748 (diff)
downloadMelon-a975053605a0f041fd2003792d81c80391527e71.tar.gz
Melon-a975053605a0f041fd2003792d81c80391527e71.zip
Made status bar into a namespace, and added functionnalities
Diffstat (limited to 'Source/Kernel/Devices')
-rw-r--r--Source/Kernel/Devices/Display/VESADisplay.class.cpp2
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;
}