From b3fd0e0a2228c2501a14670440b48bbe6f036f07 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 13 Nov 2024 22:17:13 +0100 Subject: Default back to -b from -L --- src/work.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/work.c') diff --git a/src/work.c b/src/work.c index b6433b8..0fdf6eb 100644 --- a/src/work.c +++ b/src/work.c @@ -359,7 +359,7 @@ write_match_to_buffer(u8view_t sv, u8view_t *hl) char offset[/* len(INT64_MAX - 1) */ 19]; pos_state_t ps = {.buf = {baseptr, PTRDIFF_MAX}}; - if (flags.b) { + if (!flags.L) { offsetsz = sprintf(offset, "%td", sv.p - baseptr); array_extend_sv(buf, COL_LN); array_extend(buf, offset, offsetsz); -- cgit v1.2.3