From: Alan Cox Date: Fri, 13 May 2016 13:59:50 +0000 (+0100) Subject: From: Brett Gordon X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f3a131af7ef80389f8357ef35ec4eb1b7c531305;p=FUZIX.git From: Brett Gordon vt: Fix stupid bug --- diff --git a/Kernel/vt.c b/Kernel/vt.c index 5270984d..0dc45f4a 100644 --- a/Kernel/vt.c +++ b/Kernel/vt.c @@ -238,7 +238,7 @@ void vtoutput(unsigned char *p, unsigned int len) continue; } else if (vtmode == 3) { int ncursorx = c - ' '; - if (ncursory >= 0 && ncursorx <= VT_BOTTOM) + if (ncursory >= 0 && ncursory <= VT_BOTTOM) cursory = ncursory; if (ncursorx >= 0 && ncursorx <= VT_RIGHT) cursorx = ncursorx;