From: Brett Gordon <beretta42@gmail.com>
authorAlan Cox <alan@linux.intel.com>
Fri, 13 May 2016 13:59:50 +0000 (14:59 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 13 May 2016 13:59:50 +0000 (14:59 +0100)
vt: Fix stupid bug

Kernel/vt.c

index 5270984..0dc45f4 100644 (file)
@@ -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;