From 78034539773a3be2113fed80c39878d2727d6ef2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 6 Aug 2021 18:06:11 -0700 Subject: Inplace modifying should set context to all --- bp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bp.c') diff --git a/bp.c b/bp.c index 8f805ef..6a3e679 100644 --- a/bp.c +++ b/bp.c @@ -424,6 +424,7 @@ int main(int argc, char *argv[]) options.mode = MODE_INPLACE; options.print_filenames = false; options.format = FORMAT_PLAIN; + options.context_before = options.context_after = ALL_CONTEXT; } else if (BOOLFLAG("-G") || BOOLFLAG("--git")) { options.git_mode = true; } else if (BOOLFLAG("-i") || BOOLFLAG("--ignore-case")) { -- cgit v1.2.3