fix newlines

This commit is contained in:
Simon Michael 2008-06-28 05:07:09 +00:00
parent d795c0bac8
commit daff4bf09e

View File

@ -50,7 +50,7 @@ autofillEntry e@(LedgerEntry _ _ _ _ _ ts _) =
showEntry :: LedgerEntry -> String showEntry :: LedgerEntry -> String
showEntry e = showEntry e =
"\n" ++ precedingcomment ++ description ++ unlines (showtxns $ etransactions e) unlines $ [precedingcomment ++ description] ++ (showtxns $ etransactions e) ++ [""]
where where
precedingcomment = epreceding_comment_lines e precedingcomment = epreceding_comment_lines e
description = concat [date, status, code, desc] -- , comment] description = concat [date, status, code, desc] -- , comment]