From bc67c2a769154142b6c0fa6cd6d64f929352ebdb Mon Sep 17 00:00:00 2001 From: Justin Le Date: Sat, 4 Feb 2017 00:51:10 -0800 Subject: [PATCH] fixed small regression in number of newlines at the end of incomestatement, balancesheet, cashflow outputs --- hledger/Hledger/Cli/BalanceView.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/BalanceView.hs b/hledger/Hledger/Cli/BalanceView.hs index d4daf7f1a..a59e583c6 100644 --- a/hledger/Hledger/Cli/BalanceView.hs +++ b/hledger/Hledger/Cli/BalanceView.hs @@ -62,7 +62,7 @@ balanceviewReport BV{..} CliOpts{reportopts_=ropts} j = do bvqueries mapM_ putStrLn (bvname : "" : views) - unless (no_total_ ropts) . putStrLn . unlines $ + unless (no_total_ ropts) . mapM_ putStrLn $ [ "Total:" , "--------------------" , padleft 20 $ showMixedAmountWithoutPrice (getSum amt)