diff options
author | Vladimir Parfinenko <vladimir.parfinenko@gmail.com> | 2021-07-06 08:40:21 +0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2023-01-27 15:39:20 -0800 |
commit | 7ef502ba00987928d5c708bf8e157bac710bb688 (patch) | |
tree | afaa959ad246aee8b209021d649e6a4e164abe7c /src | |
parent | 723dd41df17d3c4730ebbe8d1b10e4cb577870c7 (diff) | |
download | fork-ledger-7ef502ba00987928d5c708bf8e157bac710bb688.tar.gz fork-ledger-7ef502ba00987928d5c708bf8e157bac710bb688.tar.bz2 fork-ledger-7ef502ba00987928d5c708bf8e157bac710bb688.zip |
Use amount_width for balance report
Diffstat (limited to 'src')
-rw-r--r-- | src/report.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h index d264c777..a711793d 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), 20," - " 20 + int(prepend_width), true, color)," + " justify(scrub(display_total), int(amount_width)," + " int(amount_width) + 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) : \"\")" - "--------------------\n"); + "%(\"-\" * int(amount_width))\n"); }); OPTION(report_t, base); |