aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-10-25 12:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2021-10-25 12:01:11 +0100
commit3934d9b24de376cf0b6868c56751b55bd2d60399 (patch)
tree2170d81ee872281d53659623a721618a6a6a744c /tty.c
parent619d934d7b64ec86dcc08f182c390273d1604e06 (diff)
parentef46eb91a5e0b6e2b023544f45dbc98c8fe1377f (diff)
downloadrtmux-3934d9b24de376cf0b6868c56751b55bd2d60399.tar.gz
rtmux-3934d9b24de376cf0b6868c56751b55bd2d60399.tar.bz2
rtmux-3934d9b24de376cf0b6868c56751b55bd2d60399.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tty.c b/tty.c
index 809289e0..243eae56 100644
--- a/tty.c
+++ b/tty.c
@@ -1972,10 +1972,9 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx)
for (i = 0; i < OVERLAY_MAX_RANGES; i++)
vis += r.nx[i];
if (vis < gcp->data.width) {
- tty_draw_line(tty, s, s->cx, s->cy,
- gcp->data.width, px, py, &ctx->defaults,
- ctx->palette);
- return;
+ tty_draw_line(tty, s, s->cx, s->cy, gcp->data.width,
+ px, py, &ctx->defaults, ctx->palette);
+ return;
}
}