summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-18 11:25:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-18 11:25:56 -0400
commitbdc180ff9cf4a0b953882117584f72d772fa362f (patch)
treed8753b2379b6cb14057def5834b24d01d286c7ef /src/session.cc
parent235f3cc0aed5b344dc4046543f326f0d99d44452 (diff)
downloadfork-ledger-bdc180ff9cf4a0b953882117584f72d772fa362f.tar.gz
fork-ledger-bdc180ff9cf4a0b953882117584f72d772fa362f.tar.bz2
fork-ledger-bdc180ff9cf4a0b953882117584f72d772fa362f.zip
Don't use single code format characters anymore. Access to object details
will now always be done with "%(identifier)".
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/session.cc b/src/session.cc
index 74dd13e6..6bcca89a 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -71,17 +71,17 @@ void release_session_context()
session_t::session_t()
: register_format
- ("%-.9D %-.20P %-.23A %!12(print_balance(fmt_t, 12, 67)) "
- "%!12(print_balance(fmt_T, 12, 80, true))\n%/"
- "%31|%-.23A %!12(print_balance(fmt_t, 12, 67)) "
- "%!12(print_balance(fmt_T, 12, 80, true))\n"),
+ ("%-.9(date) %-.20(payee) %-.23(account) %!12(print_balance(amount_expr, 12, 67)) "
+ "%!12(print_balance(total_expr, 12, 80, true))\n%/"
+ "%31|%-.23(account) %!12(print_balance(amount_expr, 12, 67)) "
+ "%!12(print_balance(total_expr, 12, 80, true))\n"),
wide_register_format
("%-.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"),
balance_format
- ("%20T %_%-a\n"),
+ ("%20(total_expr) %(depth_spacer)%-(partial_account)\n"),
equity_format
("\n%D %Y%C%P\n%/ %-34W %12t\n"),
plot_amount_format