Skip to content

Commit

Permalink
fixed bug with always using colors and not checking for COLORS option…
Browse files Browse the repository at this point in the history
… flag
  • Loading branch information
dev-null-undefined committed Jan 29, 2022
1 parent a3d1c13 commit 0694b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions string_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ void string_table_print(string_table_t *string_table, options_t *option) {
}

void set_console_color(int color, options_t *options) {
if (!(options->flags & COLORS)) return;
const char *s;
switch (color) {
case BLACK:
Expand Down

0 comments on commit 0694b7c

Please sign in to comment.