summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-09 05:18:34 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:55 -0400
commit9aad55540eda0f956b99458d6ed49fb40df63cb8 (patch)
treee5807cead86caafb4641d6dc05693c60de129208 /textual.cc
parent9bf398f91413e8f735206ccc2cdd40eacbaae64b (diff)
downloadfork-ledger-9aad55540eda0f956b99458d6ed49fb40df63cb8.tar.gz
fork-ledger-9aad55540eda0f956b99458d6ed49fb40df63cb8.tar.bz2
fork-ledger-9aad55540eda0f956b99458d6ed49fb40df63cb8.zip
*** empty log message ***
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/textual.cc b/textual.cc
index 339d7a59..0b1e5d6d 100644
--- a/textual.cc
+++ b/textual.cc
@@ -668,9 +668,10 @@ void write_textual_journal(journal_t& journal, std::string path,
for (transactions_list::iterator x = base->transactions.begin();
x != base->transactions.end();
x++)
- transaction_xdata(**x).dflags |= TRANSACTION_TO_DISPLAY;
-
- walk_transactions(base->transactions, formatter);
+ if (! ((*x)->flags & TRANSACTION_AUTO)) {
+ transaction_xdata(**x).dflags |= TRANSACTION_TO_DISPLAY;
+ formatter(**x);
+ }
formatter.flush();
while (pos < base->end_pos) {