diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-24 03:40:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-24 03:40:57 -0400 |
commit | 79c74782783f789c067d3ba1fb1461c436b07828 (patch) | |
tree | a2a2fc8f7888c0c973edf0d2d1d6c42ef5f96056 /src/global.cc | |
parent | eb364f4183d2549540c92d3e58246fad4f45dda2 (diff) | |
download | fork-ledger-79c74782783f789c067d3ba1fb1461c436b07828.tar.gz fork-ledger-79c74782783f789c067d3ba1fb1461c436b07828.tar.bz2 fork-ledger-79c74782783f789c067d3ba1fb1461c436b07828.zip |
Fixes to the way annotated prices are displayed
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc index e3969481..c0c95b5e 100644 --- a/src/global.cc +++ b/src/global.cc @@ -373,7 +373,8 @@ void global_scope_t::normalize_report_options(const string& verb) report_t& rep(report()); // jww (2009-02-09): These global are a hack, but hard to avoid. - item_t::use_effective_date = rep.HANDLED(effective); + item_t::use_effective_date = rep.HANDLED(effective); + rep.session.commodity_pool->keep_base = rep.HANDLED(base); if (rep.HANDLED(date_format_)) { output_datetime_format = rep.HANDLER(date_format_).str() + " %H:%M:%S"; |