summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2022-02-03 09:08:37 -0800
committerJohn Wiegley <johnw@newartisans.com>2022-02-03 09:09:09 -0800
commit8e79216887cf3c342dfca1ffa52cf4e6389d6de4 (patch)
tree3e642a6bb5ee851bf70cd81fd9d74769308c79f3 /src/report.h
parent7baa0efd71896711e563feb957926433f529d892 (diff)
downloadfork-ledger-8e79216887cf3c342dfca1ffa52cf4e6389d6de4.tar.gz
fork-ledger-8e79216887cf3c342dfca1ffa52cf4e6389d6de4.tar.bz2
fork-ledger-8e79216887cf3c342dfca1ffa52cf4e6389d6de4.zip
Revert "Use amount_width for balance report"
This reverts commit 7baa0efd71896711e563feb957926433f529d892.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h
index 280481df..95d87e1e 100644
--- a/src/report.h
+++ b/src/report.h
@@ -419,8 +419,8 @@ public:
CTOR(report_t, balance_format_) {
on(none,
"%(ansify_if("
- " justify(scrub(display_total), int(amount_width),"
- " int(amount_width) + int(prepend_width), true, color),"
+ " justify(scrub(display_total), 20,"
+ " 20 + int(prepend_width), true, color),"
" bold if should_bold))"
" %(!options.flat ? depth_spacer : \"\")"
"%-(ansify_if("
@@ -428,7 +428,7 @@ public:
" bold if should_bold))\n%/"
"%$1\n%/"
"%(prepend_width ? \" \" * int(prepend_width) : \"\")"
- "%(\"-\" * int(amount_width))\n");
+ "--------------------\n");
});
OPTION(report_t, base);