nausea

curses audio visualizer
git clone git://git.2f30.org/nausea
Log | Files | Refs | README | LICENSE

commit 42fd5d25cacda6f407430cc71490210656cf6e49
parent 7d13978f48f229e52baff150427cb02c2c9b007b
Author: lostd <lostd@2f30.org>
Date:   Mon, 25 Aug 2014 19:51:08 +0100

Toggle flags using the not operator

Diffstat:
Mnausea.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nausea.c b/nausea.c @@ -386,10 +386,10 @@ main(int argc, char *argv[]) break; case 'c': if (has_colors() == TRUE) - colors = ~colors; + colors = !colors; break; case 'p': - peaks = ~peaks; + peaks = !peaks; break; case '1': draw = draw_spectrum;