summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-12 12:43:18 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-12 12:43:18 +0000
commit575bfa4b4b6d6f702abf4a6abf6cf1c82bf10b53 (patch)
treeccbf8a471ed3f9c46dc787ed8d5f086fc4ba9d5d /tty.c
parent31ddae77358b620c9b1776a472711018916ba1cb (diff)
Erm, use EL in a way that actually works...
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 80d2c4c4..502f2b98 100644
--- a/tty.c
+++ b/tty.c
@@ -588,7 +588,7 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int py, u_int ox, u_int oy)
tty_reset(tty);
tty_cursor(tty, ox + sx, oy + py);
- if (ox + sx + screen_size_x(s) >= tty->sx &&
+ if (ox + screen_size_x(s) >= tty->sx &&
tty_term_has(tty->term, TTYC_EL))
tty_putcode(tty, TTYC_EL);
else {