summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-07 06:39:50 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-07 06:39:50 -0500
commit06f4c2786700121036ab02556a028e51573307fd (patch)
treeb36e4d7fd21eab9b2d8ba3d012e8df1cea87e590 /src/xact.cc
parentc8bab6d1c6c36c67a5c354fb719474542f4f80b5 (diff)
downloadfork-ledger-06f4c2786700121036ab02556a028e51573307fd.tar.gz
fork-ledger-06f4c2786700121036ab02556a028e51573307fd.tar.bz2
fork-ledger-06f4c2786700121036ab02556a028e51573307fd.zip
Renamed journal_t::basket to bucket
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 67dad155..68b607f4 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -156,8 +156,8 @@ bool xact_base_t::finalize()
// If there is only one post, balance against the default account if one has
// been set.
- if (journal && journal->basket && posts.size() == 1 && ! balance.is_null()) {
- null_post = new post_t(journal->basket, ITEM_GENERATED);
+ if (journal && journal->bucket && posts.size() == 1 && ! balance.is_null()) {
+ null_post = new post_t(journal->bucket, ITEM_GENERATED);
null_post->_state = (*posts.begin())->_state;
add_post(null_post);
}