diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-11 19:14:23 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-11 19:14:23 -0400 |
commit | 1a030da55d5b16d18261f029cddb543e3ef32424 (patch) | |
tree | cfd273fcbaa059fa56311ae22599a205a2b1d4fd /src/xact.cc | |
parent | 4eb46bedf0e6e31797826d05992e007f21ee830b (diff) | |
download | fork-ledger-1a030da55d5b16d18261f029cddb543e3ef32424.tar.gz fork-ledger-1a030da55d5b16d18261f029cddb543e3ef32424.tar.bz2 fork-ledger-1a030da55d5b16d18261f029cddb543e3ef32424.zip |
Rewrote the "entry" command. It's ALIVE!
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc index 5a0a14c8..4e5004a2 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -260,7 +260,7 @@ void xact_t::add_to_value(value_t& value, expr_t& expr) if (! xdata_ || ! xdata_->has_flags(XACT_EXT_NO_TOTAL)) { bind_scope_t bound_scope(*expr.get_context(), *this); if (value.is_null()) - value = amount_t(); + value = amount_t(0L); value += expr.calc(bound_scope); } |