From e35e95188674ae4802df2a511825218253d01d2c Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sat, 17 Oct 2009 18:34:38 +0200 Subject: nothing --- Source/Kernel/VTManager/SimpleVT.class.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/Kernel/VTManager/SimpleVT.class.cpp b/Source/Kernel/VTManager/SimpleVT.class.cpp index 9639d50..89391b2 100644 --- a/Source/Kernel/VTManager/SimpleVT.class.cpp +++ b/Source/Kernel/VTManager/SimpleVT.class.cpp @@ -82,6 +82,7 @@ void SimpleVT::scroll() { } void SimpleVT::updateCursor() { + if (!m_mapped) return; Disp::moveCursor(m_csrlin + m_maprow, m_csrcol + m_mapcol); } @@ -126,7 +127,7 @@ void SimpleVT::put(WChar c, bool updatecsr) { scroll(); m_csrlin--; } - if (updatecsr) updateCursor(); + if (updatecsr && m_mapped) updateCursor(); } void SimpleVT::hexDump(u8int *ptr, u32int sz, bool addnl) { -- cgit v1.2.3