Fixed bug with --day-break option

This commit is contained in:
John Wiegley 2013-02-05 00:08:42 -06:00
parent c7bf701cb3
commit bc5563289c

View file

@ -169,10 +169,8 @@ void time_log_t::close()
foreach (account_t * account, accounts) { foreach (account_t * account, accounts) {
DEBUG("timelog", "Clocking out from account " << account->fullname()); DEBUG("timelog", "Clocking out from account " << account->fullname());
clock_out_from_timelog(time_xacts, context.count += clock_out_from_timelog
time_xact_t(none, CURRENT_TIME(), account), (time_xacts, time_xact_t(none, CURRENT_TIME(), account), context);
context);
context.count++;
} }
assert(time_xacts.empty()); assert(time_xacts.empty());
} }