summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-02 22:45:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-02 22:45:35 -0400
commit5a90fe735772fd4d52216ae76ddad893bce177e6 (patch)
tree7f0f70fed0d3ae7deb5770a94ca451953b730625 /textual.cc
parent7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (diff)
downloadledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.gz
ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.bz2
ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.zip
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
be gathered during reporting. Removed the references to accounts and such from the mask logic, which means that the value expression "acount =~ /foo/" is needed in place of just "/foo/".
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index f9499e6e..3412f755 100644
--- a/textual.cc
+++ b/textual.cc
@@ -1079,7 +1079,7 @@ void write_textual_journal(journal_t& journal,
if (base) {
foreach (xact_t * xact, base->xacts) {
if (! xact->has_flags(XACT_AUTO)) {
- xact_xdata(*xact).dflags |= XACT_TO_DISPLAY;
+ xact->xdata().add_flags(XACT_EXT_TO_DISPLAY);
(*formatter)(*xact);
}
}