From cd160250a67206190f2c9b0a9197959b01972e43 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 27 Apr 2024 17:13:06 +0200 Subject: [PATCH] Cleanup --- src/options.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/options.c b/src/options.c index f8a77da..a460ab7 100644 --- a/src/options.c +++ b/src/options.c @@ -482,8 +482,10 @@ void options_parse(int argc, char *argv[]) // Support no-color.org informal spec char *no_color = getenv("NO_COLOR"); - if(no_color != NULL && no_color[0] != '\0') - option.color = -1; + if (no_color != NULL && no_color[0] != '\0') + { + option.color = -1; + } while (1) {