summaryrefslogtreecommitdiffstats
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.c b/src/parser.c
index 1ea486f..ea44ecb 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -2589,9 +2589,6 @@ static void vt100_parser_handle_cup(VT100Screen *vt, char *buf, size_t len)
if (params[0] > vt->grid->max.row) {
params[0] = vt->grid->max.row;
}
- if (params[1] > vt->grid->max.col) {
- params[1] = vt->grid->max.col;
- }
vt100_screen_move_to(vt, params[0] - 1, params[1] - 1);
}