summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/report.h b/src/report.h
index b625d335..8a7efddd 100644
--- a/src/report.h
+++ b/src/report.h
@@ -459,12 +459,12 @@ public:
(report_t, budget_format_,
CTOR(report_t, budget_format_) {
on(none,
- "%(justify(scrub(get_at(display_total, 0)), 12, -1, true, color))"
- " %(justify(-scrub(get_at(display_total, 1)), 12, "
- " 12 + 1 + 12, true, color))"
+ "%(justify(scrub(get_at(display_total, 0)), int(amount_width), -1, true, color))"
+ " %(justify(-scrub(get_at(display_total, 1)), int(amount_width), "
+ " int(amount_width) + 1 + int(amount_width), true, color))"
" %(justify(scrub((get_at(display_total, 1) || 0) + "
- " (get_at(display_total, 0) || 0)), 12, "
- " 12 + 1 + 12 + 1 + 12, true, color))"
+ " (get_at(display_total, 0) || 0)), int(amount_width), "
+ " int(amount_width) + 1 + int(amount_width) + 1 + int(amount_width), true, color))"
" %(ansify_if("
" justify((get_at(display_total, 1) ? "
" (100% * quantity(scrub(get_at(display_total, 0)))) / "