From 5a6df3273833acd142bc67830c295139c0ff6b13 Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Thu, 14 Feb 2019 22:03:23 +0100 Subject: [PATCH] Respect given outfile on box removal #55 --- src/remove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remove.c b/src/remove.c index 4825322..aad40e2 100644 --- a/src/remove.c +++ b/src/remove.c @@ -1058,7 +1058,7 @@ void output_input (const int trim_only) indent = 0; } - printf ("%s%s\n", indentspc, input.lines[j].text + indent); + fprintf (opt.outfile, "%s%s\n", indentspc, input.lines[j].text + indent); BFREE (indentspc); } }