diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-17 17:58:50 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-17 17:58:50 -0400 |
commit | 07f4aefdfde719c57aa4574a53e1f33b6e295a58 (patch) | |
tree | cb9ec944ea53982fe6e0f7a07416a1ecc58dad23 | |
parent | 67fd38e073b49e7dd7bf6ae50b4fb1a7778daa23 (diff) | |
download | fork-ledger-07f4aefdfde719c57aa4574a53e1f33b6e295a58.tar.gz fork-ledger-07f4aefdfde719c57aa4574a53e1f33b6e295a58.tar.bz2 fork-ledger-07f4aefdfde719c57aa4574a53e1f33b6e295a58.zip |
Removed the %*| special char, for %*(" ")
-rw-r--r-- | src/format.cc | 5 | ||||
-rw-r--r-- | src/report.cc | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/format.cc b/src/format.cc index 70365e7f..e382f7ac 100644 --- a/src/format.cc +++ b/src/format.cc @@ -170,11 +170,6 @@ format_t::element_t * format_t::parse_elements(const string& fmt) current->chars = "%"; break; - case '|': - current->type = element_t::STRING; - current->chars = " "; - break; - case '(': case '[': { std::istringstream str(p); diff --git a/src/report.cc b/src/report.cc index 881f0518..a28ff144 100644 --- a/src/report.cc +++ b/src/report.cc @@ -51,14 +51,14 @@ report_t::report_t(session_t& _session) " %-.23(truncate(account, 23, 2))" " %12(print_balance(strip(display_amount), 12, 67))" " %12(print_balance(strip(display_total), 12, 80, true))\n%/" - "%31|%-.23(truncate(account, 23, 2))" + "%31(\" \")%-.23(truncate(account, 23, 2))" " %12(print_balance(strip(display_amount), 12, 67))" " %12(print_balance(strip(display_total), 12, 80, true))\n"); // jww (2009-02-06): Most of these still need to be defined HANDLER(wide_register_format_).on( "%-.9D %-.35P %-.39A %22.108t %22.132T\n%/" - "%48|%-.38A %22.108t %22.132T\n"); + "%48(\" \")%-.38A %22.108t %22.132T\n"); HANDLER(print_format_).on( "%(format_date(entry.date, \"%Y/%m/%d\"))" |