Couple of trivial style nits.

This commit is contained in:
nicm
2015-12-28 14:02:52 +00:00
parent 60cbdf9ccd
commit 2a1f27eb1a
2 changed files with 3 additions and 3 deletions

2
tty.c
View File

@ -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)