From fc349389e3f074ae2ce22b93f3833f063f548a8f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 20 Feb 2009 23:08:42 -0400 Subject: Restored the --budget option --- src/balance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/balance.cc') diff --git a/src/balance.cc b/src/balance.cc index 92a6c767..b8009607 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -81,7 +81,7 @@ balance_t& balance_t::operator-=(const amount_t& amt) if (i->second.is_realzero()) amounts.erase(i); } else { - amounts.insert(amounts_map::value_type(&amt.commodity(), amt.negate())); + amounts.insert(amounts_map::value_type(&amt.commodity(), amt.negated())); } return *this; } -- cgit v1.2.3