summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-08 15:24:48 +0000
committernicm <nicm>2017-02-08 15:24:48 +0000
commit96b66f8fc32867899653dd898f53285741ab8c83 (patch)
treeb8fcc341720879a88de7ac8b300073be2d3aeb7d /tty.c
parent713f3b05f3f0579c4ccbba2d93affaf672a3a473 (diff)
Remove unnecessary duplicate check.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tty.c b/tty.c
index f712b17a..1b1ae480 100644
--- a/tty.c
+++ b/tty.c
@@ -998,10 +998,7 @@ tty_cmd_linefeed(struct tty *tty, const struct tty_ctx *ctx)
if ((!tty_pane_full_width(tty, ctx) && !tty_use_margin(tty)) ||
tty_fake_bce(tty, wp, ctx->bg) ||
!tty_term_has(tty->term, TTYC_CSR)) {
- if (tty_large_region(tty, ctx))
- wp->flags |= PANE_REDRAW;
- else
- tty_redraw_region(tty, ctx);
+ tty_redraw_region(tty, ctx);
return;
}