From 2ec9f76b7221938061d12e268e97bc33e5653a8e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 28 May 2024 02:05:57 -0400 Subject: Rename 'Match' macro to avoid confusion --- printmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printmatch.c') diff --git a/printmatch.c b/printmatch.c index 8421a83..d856372 100644 --- a/printmatch.c +++ b/printmatch.c @@ -200,7 +200,7 @@ public int fprint_match(FILE *out, const char *file_start, match_t *m, print_opt { int printed = 0; if (m->pat->type == BP_REPLACE) { - auto rep = Match(m->pat, BP_REPLACE); + auto rep = When(m->pat, BP_REPLACE); const char *text = rep->text; const char *end = &text[rep->len]; if (opts && opts->replace_color) printed += fprintf(out, "%s", opts->replace_color); -- cgit v1.2.3