summaryrefslogtreecommitdiff
path: root/src/emacs.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-13 00:42:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-13 00:42:25 -0400
commit40f553228f5a28034c6635fdcb4c86af28a385ed (patch)
tree2c40305c9f9841a4c3d453a4a5c49ec69056b4b2 /src/emacs.cc
parent556211e623cad88213e5087b5c9c36e754d9aa02 (diff)
parentb1b4e2aadff5983d443d70c09ea86a41b015873f (diff)
downloadfork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.tar.gz
fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.tar.bz2
fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.zip
Merge branch 'next'
Diffstat (limited to 'src/emacs.cc')
-rw-r--r--src/emacs.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emacs.cc b/src/emacs.cc
index 3c8bb256..7abdfd7f 100644
--- a/src/emacs.cc
+++ b/src/emacs.cc
@@ -42,11 +42,11 @@ void format_emacs_posts::write_xact(xact_t& xact)
{
if (xact.pos)
out << "\"" << xact.pos->pathname << "\" "
- << xact.pos->beg_line << " ";
+ << xact.pos->beg_line << " ";
else
out << "\"\" " << -1 << " ";
- tm when = gregorian::to_tm(xact.date());
+ tm when = gregorian::to_tm(xact.date());
std::time_t date = std::mktime(&when);
out << "(" << (date / 65536) << " " << (date % 65536) << " 0) ";
@@ -86,7 +86,7 @@ void format_emacs_posts::operator()(post_t& post)
out << " (" << -1 << " ";
out << "\"" << post.reported_account()->fullname() << "\" \""
- << post.amount << "\"";
+ << post.amount << "\"";
switch (post.state()) {
case item_t::CLEARED: