summaryrefslogtreecommitdiff
path: root/emacs.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-26 10:10:16 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-26 10:10:16 -0400
commit00ca034e737c4ae7d2cd3e4df5e61e492e288e46 (patch)
tree37506da4ff612439a809334cf1c9a210a550f91f /emacs.cc
parent910f16509699ec6afd51d228d2689aabe8fc1256 (diff)
parent37cf3c6f6e54de338a5d16e0ff7a62754533fe22 (diff)
downloadfork-ledger-00ca034e737c4ae7d2cd3e4df5e61e492e288e46.tar.gz
fork-ledger-00ca034e737c4ae7d2cd3e4df5e61e492e288e46.tar.bz2
fork-ledger-00ca034e737c4ae7d2cd3e4df5e61e492e288e46.zip
Merge branch git://github.com/levindu/ledger.git 'master' into v2.6.1b
Conflicts: Makefile.am
Diffstat (limited to 'emacs.cc')
-rw-r--r--emacs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.cc b/emacs.cc
index ed0674a2..7551b37c 100644
--- a/emacs.cc
+++ b/emacs.cc
@@ -13,7 +13,7 @@ void format_emacs_transactions::write_entry(entry_t& entry)
break;
}
- out << (((unsigned long)entry.beg_line) + 1) << " ";
+ out << ((unsigned long)entry.beg_line) << " ";
std::time_t date = entry.date().when;
out << "(" << (date / 65536) << " " << (date % 65536) << " 0) ";
@@ -47,7 +47,7 @@ void format_emacs_transactions::operator()(transaction_t& xact)
out << "\n";
}
- out << " (" << (((unsigned long)xact.beg_line) + 1) << " ";
+ out << " (" << ((unsigned long)xact.beg_line) << " ";
out << "\"" << xact_account(xact)->fullname() << "\" \""
<< xact.amount << "\"";