From 2d941730b1c60342be5b108d2d654723b3b7c2cb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Feb 2009 19:55:27 -0400 Subject: Largely removed all of Ledger's use of global variables, for the REPL's sake. --- src/timelog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timelog.cc') diff --git a/src/timelog.cc b/src/timelog.cc index b22b2e60..96b629c8 100644 --- a/src/timelog.cc +++ b/src/timelog.cc @@ -113,7 +113,7 @@ time_log_t::~time_log_t() accounts.push_back(time_entry.account); foreach (account_t * account, accounts) - clock_out_from_timelog(time_entries, current_time, account, NULL, + clock_out_from_timelog(time_entries, CURRENT_TIME(), account, NULL, journal); assert(time_entries.empty()); -- cgit v1.2.3