From 90bfefda165dfaf716372a60e0a529e40a48ef5b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 27 Sep 2021 21:42:22 -0700 Subject: Added comment --- bp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bp.c') diff --git a/bp.c b/bp.c index aed503e..cd32325 100644 --- a/bp.c +++ b/bp.c @@ -377,7 +377,7 @@ static int print_matches(FILE *out, file_t *f, pat_t *pattern) // Print trailing context if needed: if (matches > 0) { fprint_context(out, f, prev, NULL); - if (last_line_num < 0) { + if (last_line_num < 0) { // Hacky fix to ensure line number gets printed for `bp -p '$$'` fprint_linenum(out, f, f->nlines, print_opts.normal_color); fputc('\n', out); } -- cgit v1.2.3