summaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-15 21:05:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-15 21:05:59 -0400
commite861c312ac4685c7a9c967312cffeb7388d3be1e (patch)
treeb64db3c16b91b61e32023eebb3751d0686b96c59 /src/output.h
parentbfa6a643a1317515e10cca2170463f941e6d0f10 (diff)
downloadfork-ledger-e861c312ac4685c7a9c967312cffeb7388d3be1e.tar.gz
fork-ledger-e861c312ac4685c7a9c967312cffeb7388d3be1e.tar.bz2
fork-ledger-e861c312ac4685c7a9c967312cffeb7388d3be1e.zip
The "xact" variable now returns null for accounts
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output.h b/src/output.h
index 188013c3..e68e51f3 100644
--- a/src/output.h
+++ b/src/output.h
@@ -173,7 +173,9 @@ public:
bool should_display(account_t& account) {
if (! disp_pred.predicate && report.HANDLED(display_))
disp_pred.predicate.parse(report.HANDLER(display_).str());
- return disp_pred(account);
+
+ bind_scope_t bound_scope(report, account);
+ return disp_pred(bound_scope);
}
virtual void flush();