summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-23 19:49:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-23 19:50:00 -0400
commit900a92e1158cb178335d16ff0912f5fc5701da32 (patch)
tree7da8de9f4a95a18659434c1968c8af43ee34f435 /src/session.cc
parentf52e04c2bac1d4900bfe8963f369178f7f76023f (diff)
downloadfork-ledger-900a92e1158cb178335d16ff0912f5fc5701da32.tar.gz
fork-ledger-900a92e1158cb178335d16ff0912f5fc5701da32.tar.bz2
fork-ledger-900a92e1158cb178335d16ff0912f5fc5701da32.zip
Added support for Unicode text in Ledger files, thanks to 'utfcpp', which can
be located at http://utfcpp.sourceforge.net.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cc b/src/session.cc
index 9a3cccd5..8e78e9e9 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -71,9 +71,9 @@ void release_session_context()
session_t::session_t()
: register_format
- ("%-.9(date) %-.20(payee) %-.23(account) %!12(print_balance(amount_expr, 12, 67)) "
+ ("%-.9(date) %-.20(payee) %-.23(account(23)) %!12(print_balance(amount_expr, 12, 67)) "
"%!12(print_balance(display_total, 12, 80, true))\n%/"
- "%31|%-.23(account) %!12(print_balance(amount_expr, 12, 67)) "
+ "%31|%-.23(account(23)) %!12(print_balance(amount_expr, 12, 67)) "
"%!12(print_balance(display_total, 12, 80, true))\n"),
wide_register_format
("%-.9D %-.35P %-.39A %22.108t %!22.132T\n%/"