diff options
Diffstat (limited to 'audio/cava/files/patch-config.c')
-rw-r--r-- | audio/cava/files/patch-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/cava/files/patch-config.c b/audio/cava/files/patch-config.c index 9979b6579a75..6d35fe5f5497 100644 --- a/audio/cava/files/patch-config.c +++ b/audio/cava/files/patch-config.c @@ -1,18 +1,18 @@ Remove noncurses output method which only produces a garbled mess on terminals. ---- config.c.orig 2020-10-29 12:33:01 UTC +--- config.c.orig 2021-08-02 22:27:47 UTC +++ config.c @@ -181,10 +181,6 @@ bool validate_config(struct config_params *p, struct e return false; #endif } - if (strcmp(outputMethod, "noncurses") == 0) { -- p->om = OUTPUT_NONCURSES; +- p->output = OUTPUT_NONCURSES; - p->bgcol = 0; - } if (strcmp(outputMethod, "raw") == 0) { // raw: - p->om = OUTPUT_RAW; + p->output = OUTPUT_RAW; p->bar_spacing = 0; @@ -220,7 +216,7 @@ bool validate_config(struct config_params *p, struct e #ifndef NCURSES |