summaryrefslogtreecommitdiff
path: root/emacs.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-11-09 07:11:22 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:21 -0400
commitf691735c6ce89a19356769084449d3f5691ab030 (patch)
treedf7a5de60353d3558b00d21ee83cf01e8da56331 /emacs.cc
parent3a689c568a715e7c6604825eab537d66333ce291 (diff)
downloadledger-f691735c6ce89a19356769084449d3f5691ab030.tar.gz
ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.bz2
ledger-f691735c6ce89a19356769084449d3f5691ab030.zip
Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build process by default (for the sake of speed).
Diffstat (limited to 'emacs.cc')
-rw-r--r--emacs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.cc b/emacs.cc
index 1a6b02a0..a7d517f7 100644
--- a/emacs.cc
+++ b/emacs.cc
@@ -47,7 +47,7 @@ void format_emacs_transactions::operator()(transaction_t& xact)
out << "\n";
}
- out << " (\"" << xact.account->fullname() << "\" \""
+ out << " (\"" << xact_account(xact)->fullname() << "\" \""
<< xact.amount << "\"";
switch (xact.state) {