From e4be662c513f95a19dc30c2b32cd89968e16d09d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 18 Sep 2008 11:42:32 -0400 Subject: Don't try to parse a display predicate if none has been set. --- src/output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.h b/src/output.h index 01b5221f..af594cda 100644 --- a/src/output.h +++ b/src/output.h @@ -113,7 +113,7 @@ public: } bool should_display(account_t& account) { - if (! disp_pred.predicate) + if (! disp_pred.predicate && ! report.display_predicate.empty()) disp_pred.predicate.parse(report.display_predicate); return disp_pred(account); } -- cgit v1.2.3