diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-28 06:45:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-28 06:45:32 +0000 |
commit | d41ea408b20369ab7beb3de9ba56aacfdf088bff (patch) | |
tree | d219dd5aafda0ad751d599a1cf7ea6c691044c6f /usr.bin/tmux/alerts.c | |
parent | 929814b180026065c9b43ea2b5d289e1116b07c2 (diff) |
Fix visual-silence (check accidentally the wrong way round), from Brad
Town. Plus some tmux.1 fixes from jmc@.
Diffstat (limited to 'usr.bin/tmux/alerts.c')
-rw-r--r-- | usr.bin/tmux/alerts.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/alerts.c b/usr.bin/tmux/alerts.c index 39a538e6044..c950603d6c3 100644 --- a/usr.bin/tmux/alerts.c +++ b/usr.bin/tmux/alerts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alerts.c,v 1.19 2017/04/28 19:13:55 nicm Exp $ */ +/* $OpenBSD: alerts.c,v 1.20 2017/06/28 06:45:31 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -285,8 +285,7 @@ alerts_check_silence(struct window *w) if (options_get_number(s->options, "bell-on-alert")) alerts_ring_bell(s); - - if (!options_get_number(s->options, "visual-silence")) + if (options_get_number(s->options, "visual-silence")) alerts_set_message(s, "Silence in window %d", wl->idx); } |