summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-05 02:44:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-05 02:46:22 -0400
commit63c7ba0322fc3d0082580e181cd341f32a23ee9e (patch)
tree3b26f8b0b187045cf89ce25ceed5d48526c312e2 /src/filters.cc
parent653d2bd99a04f422c3755f42d6091f2b8817b26f (diff)
downloadfork-ledger-63c7ba0322fc3d0082580e181cd341f32a23ee9e.tar.gz
fork-ledger-63c7ba0322fc3d0082580e181cd341f32a23ee9e.tar.bz2
fork-ledger-63c7ba0322fc3d0082580e181cd341f32a23ee9e.zip
Make --anon work with the print command
Fixes #226 / C1C1E731-D991-40ED-BE43-8ED55585386C
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc
index b5f9983a..07278500 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -256,6 +256,7 @@ void anonymize_posts::operator()(post_t& post)
create_temp_account_from_path(account_names, temps, xact.journal->master);
post_t& temp = temps.copy_post(post, xact, new_account);
temp.note = none;
+ temp.add_flags(POST_ANONYMIZED);
(*handler)(temp);
}