summaryrefslogtreecommitdiff
path: root/src/print.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-28 03:02:16 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-28 03:02:16 -0600
commit656e46e1823ce00285f08f72d8473a58f9bd561a (patch)
tree46b5c2b9a246ad7380bc0f570280b59d48f97be6 /src/print.cc
parent7a55c7ffc1e3565c82c746ea66dbb6af2e3d8509 (diff)
downloadfork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.gz
fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.bz2
fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.zip
Renamed actual/effective dates to primary/auxiliary
Diffstat (limited to 'src/print.cc')
-rw-r--r--src/print.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.cc b/src/print.cc
index 56a2ec7b..63f38d80 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -112,11 +112,11 @@ namespace {
std::ostringstream buf;
- buf << format_date(item_t::use_effective_date ?
- xact.date() : xact.actual_date(),
+ buf << format_date(item_t::use_aux_date ?
+ xact.date() : xact.primary_date(),
format_type, format);
- if (! item_t::use_effective_date && xact.effective_date())
- buf << '=' << format_date(*xact.effective_date(),
+ if (! item_t::use_aux_date && xact.aux_date())
+ buf << '=' << format_date(*xact.aux_date(),
format_type, format);
buf << ' ';