commit ebf7af492cbc57c3bbda7f67a3916f549cde39ff
parent 58ed875b41c6e351484942ce4958c26f4c73baa0
Author: nibo <nibo@relim.de>
Date: Tue, 29 Jul 2025 10:59:38 +0200
Disable colorful output by default
I enabled it accidentally.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -7,7 +7,7 @@ SRC = src/core.c src/config.c src/chordpro.c src/chord_diagram.c src/out_pdf.c s
OBJS = core.o config.o chordpro.o chord_diagram.o out_pdf.o lorid.o
# Control whether log messages are colored.
-COLOR = 1
+COLOR = 0
# Exact font family name, e.g. from `fc-list : family`
DEFAULT_FONT = "Open Sans"
VARS = -DDEFAULT_FONT=\"${DEFAULT_FONT}\" \
diff --git a/src/core.c b/src/core.c
@@ -125,7 +125,7 @@ log_with_color(
vfprintf(stderr, msg, va);
fprintf(stderr, "\n");
}
-#endif
+#endif /* COLOR */
void
util_vlog(