summaryrefslogtreecommitdiffstats
path: root/src/core/fbcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/fbcon.c')
-rw-r--r--src/core/fbcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/fbcon.c b/src/core/fbcon.c
index 32ae43bee..72d6a6789 100644
--- a/src/core/fbcon.c
+++ b/src/core/fbcon.c
@@ -294,10 +294,10 @@ static void fbcon_handle_cup ( struct ansiesc_context *ctx,
fbcon_draw_cursor ( fbcon, 0 );
fbcon->xpos = cx;
if ( fbcon->xpos >= fbcon->character.width )
- fbcon->xpos = ( fbcon->character.width - 1 );
+ fbcon->xpos = 0;
fbcon->ypos = cy;
if ( fbcon->ypos >= fbcon->character.height )
- fbcon->ypos = ( fbcon->character.height - 1 );
+ fbcon->ypos = 0;
fbcon_draw_cursor ( fbcon, fbcon->show_cursor );
}