summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-14 00:32:37 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-14 00:32:37 -0400
commit3bea2b1181628c2eb3c5081a60e5fdd6659de68c (patch)
tree8c76f44c1c55b5b1927b29a6f98c937dbf6413a4 /src/session.cc
parent97d78960694c2078324b6b6af3c7436e30ddc658 (diff)
downloadfork-ledger-3bea2b1181628c2eb3c5081a60e5fdd6659de68c.tar.gz
fork-ledger-3bea2b1181628c2eb3c5081a60e5fdd6659de68c.tar.bz2
fork-ledger-3bea2b1181628c2eb3c5081a60e5fdd6659de68c.zip
Output newlines between entries using format strings, not hard-coded.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc
index be7256a5..961261e8 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -79,7 +79,7 @@ session_t::session_t()
("%-.9D %-.35P %-.39A %22.108t %!22.132T\n%/"
"%48|%-.38A %22.108t %!22.132T\n"),
print_format
- ("%(date)%(cleared ? \" *\" : (uncleared ? \"\" : \" !\"))%(code ? \" (\" + code + \")\" : \"\") %(payee)\n %-34(account) %12(amount)\n%/ %-34(account) %12(amount)%(note ? \" ; \" + note : \"\")\n"),
+ ("%(date)%(cleared ? \" *\" : (uncleared ? \"\" : \" !\"))%(code ? \" (\" + code + \")\" : \"\") %(payee)\n %-34(account) %12(amount)\n%/ %-34(account) %12(amount)%(note ? \" ; \" + note : \"\")\n%/\n"),
balance_format
("%20(total_expr) %(depth_spacer)%-(partial_account)\n"),
equity_format