aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-04-25 21:02:43 +0100
committerThomas Adam <thomas@xteddy.org>2019-04-25 21:02:43 +0100
commit7c4a2253e89dd26018de489301e46d8425893a78 (patch)
tree50a72e4f59f1d27092b9e1c29fb0d0a1228cfe62 /tty-term.c
parentf2c0605d6d7051898318703142af4ceb7e3f845f (diff)
parent2d65bbd94129c4542394a83151cb1a131c3c7871 (diff)
downloadrtmux-7c4a2253e89dd26018de489301e46d8425893a78.tar.gz
rtmux-7c4a2253e89dd26018de489301e46d8425893a78.tar.bz2
rtmux-7c4a2253e89dd26018de489301e46d8425893a78.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tty-term.c b/tty-term.c
index 89d3241c..c458752d 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -499,8 +499,7 @@ tty_term_find(char *name, int fd, char **cause)
a = options_array_first(o);
while (a != NULL) {
ov = options_array_item_value(a);
- if (ov != NULL)
- tty_term_override(term, ov->string);
+ tty_term_override(term, ov->string);
a = options_array_next(a);
}