summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-27 21:33:33 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-27 21:33:33 -0400
commit07cca71893ef82e4199dc0dcadba25cc0185c4ed (patch)
tree032cf1aa68e507085bc3e901581ab87e7b2f3f73 /src/post.cc
parentab433d28e08bbe23bbc75d333ed63343356e043a (diff)
downloadfork-ledger-07cca71893ef82e4199dc0dcadba25cc0185c4ed.tar.gz
fork-ledger-07cca71893ef82e4199dc0dcadba25cc0185c4ed.tar.bz2
fork-ledger-07cca71893ef82e4199dc0dcadba25cc0185c4ed.zip
Renamed two methods, for consistency's sake
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.cc b/src/post.cc
index 89d69ec1..2a44ebd8 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -244,7 +244,7 @@ namespace {
DEBUG("post.account_amount", "Found account: " << account->fullname());
- value_t total = account->self_total();
+ value_t total = account->amount();
if (total.is_null())
return 0L;
else