diff options
author | 2015-12-28 14:02:52 +0000 | |
---|---|---|
committer | 2015-12-28 14:02:52 +0000 | |
commit | 180db9867e149ab1ccdd131d173e6fd74c17d024 (patch) | |
tree | a46cd7cd8aa203e38e0db3448a0b81237dd696cd /usr.bin/tmux/tty.c | |
parent | build smtpd and smtpctl with -Werror-implicit-function-declaration (diff) | |
download | wireguard-openbsd-180db9867e149ab1ccdd131d173e6fd74c17d024.tar.xz wireguard-openbsd-180db9867e149ab1ccdd131d173e6fd74c17d024.zip |
Couple of trivial style nits.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r-- | usr.bin/tmux/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index faaa207a16a..e699484d02c 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.196 2015/12/11 16:37:21 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.197 2015/12/28 14:02:52 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -491,7 +491,7 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s) { int changed; - if (s != NULL && strcmp(s->ccolour, tty->ccolour)) + if (s != NULL && strcmp(s->ccolour, tty->ccolour) != 0) tty_force_cursor_colour(tty, s->ccolour); if (tty->flags & TTY_NOCURSOR) |