summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h
index 0c68b182..b625d335 100644
--- a/src/report.h
+++ b/src/report.h
@@ -462,8 +462,8 @@ public:
"%(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, 1) + "
- " get_at(display_total, 0)), 12, "
+ " %(justify(scrub((get_at(display_total, 1) || 0) + "
+ " (get_at(display_total, 0) || 0)), 12, "
" 12 + 1 + 12 + 1 + 12, true, color))"
" %(ansify_if("
" justify((get_at(display_total, 1) ? "