Removed the %*| special char, for %*(" ")
This commit is contained in:
parent
67fd38e073
commit
07f4aefdfd
2 changed files with 2 additions and 7 deletions
|
|
@ -170,11 +170,6 @@ format_t::element_t * format_t::parse_elements(const string& fmt)
|
||||||
current->chars = "%";
|
current->chars = "%";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '|':
|
|
||||||
current->type = element_t::STRING;
|
|
||||||
current->chars = " ";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case '(':
|
case '(':
|
||||||
case '[': {
|
case '[': {
|
||||||
std::istringstream str(p);
|
std::istringstream str(p);
|
||||||
|
|
|
||||||
|
|
@ -51,14 +51,14 @@ report_t::report_t(session_t& _session)
|
||||||
" %-.23(truncate(account, 23, 2))"
|
" %-.23(truncate(account, 23, 2))"
|
||||||
" %12(print_balance(strip(display_amount), 12, 67))"
|
" %12(print_balance(strip(display_amount), 12, 67))"
|
||||||
" %12(print_balance(strip(display_total), 12, 80, true))\n%/"
|
" %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_amount), 12, 67))"
|
||||||
" %12(print_balance(strip(display_total), 12, 80, true))\n");
|
" %12(print_balance(strip(display_total), 12, 80, true))\n");
|
||||||
|
|
||||||
// jww (2009-02-06): Most of these still need to be defined
|
// jww (2009-02-06): Most of these still need to be defined
|
||||||
HANDLER(wide_register_format_).on(
|
HANDLER(wide_register_format_).on(
|
||||||
"%-.9D %-.35P %-.39A %22.108t %22.132T\n%/"
|
"%-.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(
|
HANDLER(print_format_).on(
|
||||||
"%(format_date(entry.date, \"%Y/%m/%d\"))"
|
"%(format_date(entry.date, \"%Y/%m/%d\"))"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue