aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-28 14:02:52 +0000
committernicm <nicm>2015-12-28 14:02:52 +0000
commit2a1f27eb1af6645209746659b600fc546f725605 (patch)
tree57e829c9fadcacdba80a079d7d4fcec08462d721 /tty.c
parent60cbdf9ccd4c1232089272cfdc8ee17ca1bb8d3d (diff)
downloadrtmux-2a1f27eb1af6645209746659b600fc546f725605.tar.gz
rtmux-2a1f27eb1af6645209746659b600fc546f725605.tar.bz2
rtmux-2a1f27eb1af6645209746659b600fc546f725605.zip
Couple of trivial style nits.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index da5eac4d..304e1378 100644
--- a/tty.c
+++ b/tty.c
@@ -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)