diff options
author | nicm <nicm> | 2017-02-08 15:49:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-08 15:49:29 +0000 |
commit | 7475165cd87d443da34da11298e638d3d17f43e9 (patch) | |
tree | 2bdf3ee040cc1526a6ebc225727598df8bbf2b76 /tty.c | |
parent | ac1f294bb930a0c05f96197b6a53b883ebc483f2 (diff) | |
download | rtmux-7475165cd87d443da34da11298e638d3d17f43e9.tar.gz rtmux-7475165cd87d443da34da11298e638d3d17f43e9.tar.bz2 rtmux-7475165cd87d443da34da11298e638d3d17f43e9.zip |
Some other tidying bits.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1156,8 +1156,6 @@ tty_cmd_alignmenttest(struct tty *tty, const struct tty_ctx *ctx) void tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx) { - struct window_pane *wp = ctx->wp; - if (ctx->xoff + ctx->ocx > tty->sx - 1 && ctx->ocy == ctx->orlower) { if (tty_pane_full_width(tty, ctx)) tty_region_pane(tty, ctx, ctx->orupper, ctx->orlower); @@ -1167,7 +1165,7 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx) tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy); - tty_cell(tty, ctx->cell, wp); + tty_cell(tty, ctx->cell, ctx->wp); } void |