X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fcontty.c;h=606072c72d138c2599d73a6dadbe684632e082ad;hb=79be435fcf61613617025a2c4ef5fddf00a09178;hp=b8f8cde030a275443d9ae77216a3373e5c592a01;hpb=97356e29f73e12f0856fde92a48e86c73bef387c;p=bootcensus diff --git a/src/contty.c b/src/contty.c index b8f8cde..606072c 100644 --- a/src/contty.c +++ b/src/contty.c @@ -175,7 +175,7 @@ static void scroll(void) /* clear the next line that will be revealed by scrolling */ new_line = start_line + NROWS - 1; - memset16(TEXT_ADDR + new_line * NCOLS, VMEM_CHAR(' ', txattr), NCOLS); + memset16(TEXT_ADDR + new_line * NCOLS * 2, VMEM_CHAR(' ', txattr), NCOLS); crtc_setstart(start_line); }