Merges from Irssi CVS.
[crypto.git] / apps / irssi / src / fe-text / term-terminfo.c
index 54a02a6b4caa000aab5ef597fb233a5a92f538d7..ddb00441d0b81204d5f22cc2391bc7072cea9cae 100644 (file)
@@ -376,7 +376,7 @@ static void term_printed_text(int count)
        vcx += count;
        while (vcx >= term_width) {
                vcx -= term_width;
-               if (vcy < term_height) vcy++;
+               if (vcy < term_height-1) vcy++;
                if (vcx > 0) term_lines_empty[vcy] = FALSE;
        }
 }