From 393778ffabecc8fabadc72b9f0bce5340863406d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 7 Sep 2021 13:39:11 -0700 Subject: Shortening \033[0m -> \033[m --- bp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bp.c') diff --git a/bp.c b/bp.c index 5e77a17..b55b236 100644 --- a/bp.c +++ b/bp.c @@ -94,7 +94,7 @@ static file_t *backup_file; static inline void fprint_filename(FILE *out, const char *filename) { if (!filename[0]) return; - if (options.format == FORMAT_FANCY) fprintf(out, "\033[0;1;4;33m%s\033[0m\n", filename); + if (options.format == FORMAT_FANCY) fprintf(out, "\033[0;1;4;33m%s\033[m\n", filename); else fprintf(out, "%s:\n", filename); } @@ -317,7 +317,7 @@ static int process_file(def_t *defs, const char *filename, pat_t *pattern) cache_destroy(f); if (recycle_all_matches() != 0) - fprintf(stderr, "\033[33;1mMemory leak: there should no longer be any matches in use at this point.\033[0m\n"); + fprintf(stderr, "\033[33;1mMemory leak: there should no longer be any matches in use at this point.\033[m\n"); destroy_file(&f); (void)fflush(stdout); return matches; -- cgit v1.2.3