From e37d3a522d95851bd37aa5169bdef2ba35fa731c Mon Sep 17 00:00:00 2001 From: Dmitry Astapov Date: Sun, 23 Jan 2011 20:34:03 +0000 Subject: [PATCH] Forgot to take accountField into account while calculating max. field index --- hledger/Hledger/Cli/Convert.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/hledger/Hledger/Cli/Convert.hs b/hledger/Hledger/Cli/Convert.hs index a466dc31a..1599e3b74 100644 --- a/hledger/Hledger/Cli/Convert.hs +++ b/hledger/Hledger/Cli/Convert.hs @@ -111,6 +111,7 @@ maxFieldIndex r = maximumDef (-1) $ catMaybes [ ,descriptionField r ,amountField r ,currencyField r + ,accountField r ] rulesFileFor :: FilePath -> FilePath