summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index b893772e..9e70551f 100644
--- a/src/report.h
+++ b/src/report.h
@@ -739,7 +739,8 @@ public:
OPTION_(report_t, percent, DO() { // -%
parent->HANDLER(total_)
.set_expr(string("--percent"),
- "((is_account&parent&parent.total)?percent(total, parent.total):0");
+ "((is_account&parent&parent.total)?"
+ " percent(scrub(total), scrub(parent.total)):0");
});
OPTION__