summaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-06 03:31:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-06 03:31:41 -0400
commitcf6babcf9048f7e9205b1bead4794d8e2e9e8d62 (patch)
tree38688d2cd2433517045a67d2ef3f2777ee335050 /src/output.h
parentecc5a1aab50d57e65b654ea9f8a84f17208ca612 (diff)
downloadfork-ledger-cf6babcf9048f7e9205b1bead4794d8e2e9e8d62.tar.gz
fork-ledger-cf6babcf9048f7e9205b1bead4794d8e2e9e8d62.tar.bz2
fork-ledger-cf6babcf9048f7e9205b1bead4794d8e2e9e8d62.zip
Restored all the option handlers from 2.6.2, but not the options themselves.
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.h b/src/output.h
index d3dd6560..fd462040 100644
--- a/src/output.h
+++ b/src/output.h
@@ -141,8 +141,8 @@ public:
}
bool should_display(account_t& account) {
- if (! disp_pred.predicate && ! report.display_predicate.empty())
- disp_pred.predicate.parse(report.display_predicate);
+ if (! disp_pred.predicate && report.HANDLED(display_))
+ disp_pred.predicate.parse(report.HANDLER(display_).str());
return disp_pred(account);
}