diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-20 23:42:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-20 23:42:48 -0400 |
commit | 3c18d3054f36dec049809cbf3321eeeeadcf2349 (patch) | |
tree | 50fc570d9af29d5318ec4c3c3213d9e7d6aca862 /src | |
parent | fc349389e3f074ae2ce22b93f3833f063f548a8f (diff) | |
download | fork-ledger-3c18d3054f36dec049809cbf3321eeeeadcf2349.tar.gz fork-ledger-3c18d3054f36dec049809cbf3321eeeeadcf2349.tar.bz2 fork-ledger-3c18d3054f36dec049809cbf3321eeeeadcf2349.zip |
Restored the --base option
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc index 1227e317..877e6bbb 100644 --- a/src/report.cc +++ b/src/report.cc @@ -141,7 +141,11 @@ value_t report_t::fn_market_value(call_scope_t& args) value_t report_t::fn_strip(call_scope_t& args) { - return args[0].strip_annotations(what_to_keep()); + value_t temp(args[0].strip_annotations(what_to_keep())); + if (HANDLED(base)) + return temp; + else + return temp.unreduced(); } value_t report_t::fn_rounded(call_scope_t& args) |