aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-18 01:37:26 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-18 01:37:26 +0000
commit4d1c513968a403d7c89fb93204d2f41f474c1da2 (patch)
tree93b21cb807c34aa1b99329064c802f5fc34ae1cc /tty.c
parent14d6a4ab26b8d0c2d2262a688e9ce275d7e66814 (diff)
downloadrtmux-4d1c513968a403d7c89fb93204d2f41f474c1da2.tar.gz
rtmux-4d1c513968a403d7c89fb93204d2f41f474c1da2.tar.bz2
rtmux-4d1c513968a403d7c89fb93204d2f41f474c1da2.zip
Sync OpenBSD patchset 1048:
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 1ccf5751..f84c8f11 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 {