From 83f9aa56932b6b00947e13b6db4d838d56acc593 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 4 Feb 2010 20:59:07 +0000 Subject: [PATCH] resolve conflicts (New command 'chart': generate balances pie chart) --- Commands/Chart.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Chart.hs b/Commands/Chart.hs index c9862dd80..d8ae38749 100644 --- a/Commands/Chart.hs +++ b/Commands/Chart.hs @@ -56,7 +56,7 @@ genPie opts _ l = defaultPieLayout items = mapMaybe (uncurry accountPieItem) $ flatten $ balances $ - ledgerAccountTree (depthFromOpts opts) l + ledgerAccountTree (fromMaybe 99999 $ depthFromOpts opts) $ cacheLedger' l -- | Convert all quantities of MixedAccount to a single commodity amountValue :: MixedAmount -> Double