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/emacs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emacs.cc') diff --git a/src/emacs.cc b/src/emacs.cc index 714302c5..3c3c1b7b 100644 --- a/src/emacs.cc +++ b/src/emacs.cc @@ -39,7 +39,7 @@ void format_emacs_xacts::write_entry(entry_t& entry) out << "\"" << entry.pathname << "\" " << (static_cast(entry.beg_line) + 1) << " "; - tm when = gregorian::to_tm(*entry.date()); + tm when = gregorian::to_tm(entry.date()); std::time_t date = std::mktime(&when); // jww (2008-04-20): Is this GMT or local? out << "(" << (date / 65536) << " " << (date % 65536) << " 0) "; -- cgit v1.2.3