summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 69887437..12b8cb41 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -145,7 +145,7 @@ namespace {
first = false;
} else {
unique_ptr<post_t> p(new post_t(null_post->account, amount.negated(),
- ITEM_GENERATED | POST_CALCULATED));
+ null_post->flags() | ITEM_GENERATED | POST_CALCULATED));
p->set_state(null_post->state());
xact.add_post(p.release());
}