summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-03 20:28:09 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-03 20:28:09 -0400
commit1540ccec01661867b5d758c1e57f26a73b039ac6 (patch)
tree4f68ad30f6fec17d6f1d9f71fe18276be1d15461 /src/post.cc
parenteb45a0a4f46577c6615695256e5f6866a27ef20e (diff)
downloadfork-ledger-1540ccec01661867b5d758c1e57f26a73b039ac6.tar.gz
fork-ledger-1540ccec01661867b5d758c1e57f26a73b039ac6.tar.bz2
fork-ledger-1540ccec01661867b5d758c1e57f26a73b039ac6.zip
Gather account details in a details_t structure
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post.cc b/src/post.cc
index 79add9b9..92fe84d1 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -232,10 +232,10 @@ namespace {
DEBUG("post.account_amount", "Found account: " << account->fullname());
- if (account->xdata().value.is_null())
+ if (account->xdata().self_details.total.is_null())
return 0L;
else
- return account->xdata().value.simplified();
+ return account->xdata().self_details.total.simplified();
}
value_t get_account_depth(post_t& post) {