diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-25 02:07:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-25 02:07:57 -0400 |
commit | cdaba43fa731c52840a23d44ec735600a93f5f38 (patch) | |
tree | 5de474af87797a05ed64df7bebae351fcd83f202 /src/account.cc | |
parent | 838338e3164cf17d2a6de5fea7dffbf1241a476b (diff) | |
download | fork-ledger-cdaba43fa731c52840a23d44ec735600a93f5f38.tar.gz fork-ledger-cdaba43fa731c52840a23d44ec735600a93f5f38.tar.bz2 fork-ledger-cdaba43fa731c52840a23d44ec735600a93f5f38.zip |
Fixed the --gain option for balance reports
Diffstat (limited to 'src/account.cc')
-rw-r--r-- | src/account.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/account.cc b/src/account.cc index ad94e48a..6651c575 100644 --- a/src/account.cc +++ b/src/account.cc @@ -326,6 +326,7 @@ void account_t::calculate_sums(expr_t& amount_expr) value_t amount(amount_expr.calc(bound_scope)); if (! amount.is_null()) { + DEBUG("account.sums", "Added " << amount << " to " << fullname()); add_or_set_value(xd.total, amount); xd.total_count += xd.count; } else { |