summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbconsole.c')
-rw-r--r--drivers/video/fbconsole.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbconsole.c b/drivers/video/fbconsole.c
index b10503eb84..c38d13c304 100644
--- a/drivers/video/fbconsole.c
+++ b/drivers/video/fbconsole.c
@@ -192,8 +192,9 @@ static void printchar(struct fbc_priv *priv, int c)
buf = gui_screen_render_buffer(priv->sc);
- memcpy(buf, buf + line_height, line_height * (priv->rows + 1));
+ memcpy(buf, buf + line_height, line_height * priv->rows);
memset(buf + line_height * priv->rows, 0, line_height);
+
gu_screen_blit(priv->sc);
priv->y = priv->rows;
}