diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-22 22:10:28 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-22 22:10:28 -0700 |
| commit | a712a61e4d4a0ce4de241eeb3fdeef0c1515f139 (patch) | |
| tree | 1793f6d63166d7eb91aad06987703044302b9aa2 /print.c | |
| parent | d957bd3273f1a281943e97aea08bc666dee17259 (diff) | |
Bugfix
Diffstat (limited to 'print.c')
| -rw-r--r-- | print.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ static void _print_match(FILE *out, printer_t *pr, match_t *m) print_line_number(out, pr, line, pr->use_color ? color_replace : NULL, line > line_end); // Capture substitution - if (*r == '@' && r+1 < m->end && r[1] != '@') { + if (*r == '@' && r+1 < end && r[1] != '@') { ++r; // Retrieve the capture value: |
