diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-04 19:55:27 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-04 19:55:27 -0400 |
commit | 2d941730b1c60342be5b108d2d654723b3b7c2cb (patch) | |
tree | 6a3f4b7305857e85d2684670492007bafc3668d0 /src/emacs.cc | |
parent | 73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff) | |
download | fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2 fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip |
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'src/emacs.cc')
-rw-r--r-- | src/emacs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::size_t>(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) "; |