From 4197c8851120e5c5ac7426cdca209a49049e9363 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 6 Jun 2010 06:05:51 -0400 Subject: Corrected implementation of --percent --- src/report.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 99b8781b..e4eaeaaa 100644 --- a/src/report.h +++ b/src/report.h @@ -735,7 +735,7 @@ public: OPTION_(report_t, percent, DO() { // -% parent->HANDLER(total_) .set_expr(string("--percent"), - "is_account&parent&parent.total&percent(total, parent.total)"); + "((is_account&parent&parent.total)?percent(total, parent.total):0"); }); OPTION__ -- cgit v1.2.3