summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-10 01:27:46 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-10 01:28:53 -0500
commit115da191214638299eced2564fa4bd5c6c03c63f (patch)
tree92e468fd8444d6f904ba8fe9c9dc7823a672d219 /src/account.cc
parent16a2a16097e356a12feb18a091fd4f19993c350e (diff)
downloadfork-ledger-115da191214638299eced2564fa4bd5c6c03c63f.tar.gz
fork-ledger-115da191214638299eced2564fa4bd5c6c03c63f.tar.bz2
fork-ledger-115da191214638299eced2564fa4bd5c6c03c63f.zip
account.amount and .total return simplified values
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account.cc b/src/account.cc
index 43b7cd56..5cc7e070 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -180,11 +180,11 @@ namespace {
}
value_t get_amount(account_t& account) {
- return VALUE_OR_ZERO(account.amount());
+ return SIMPLIFIED_VALUE_OR_ZERO(account.amount());
}
value_t get_total(account_t& account) {
- return VALUE_OR_ZERO(account.total());
+ return SIMPLIFIED_VALUE_OR_ZERO(account.total());
}
value_t get_subcount(account_t& account) {