diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-30 00:38:29 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-30 00:51:05 -0500 |
commit | 8e8c2904f55eb9a43b3eb8057e9f11767a624dff (patch) | |
tree | bd7473e6ca867ab8a2fe10cc657484810e8daac7 /src/annotate.cc | |
parent | 4b2b9dc009e5f44029cc23ea17e0a5c98266baff (diff) | |
download | fork-ledger-8e8c2904f55eb9a43b3eb8057e9f11767a624dff.tar.gz fork-ledger-8e8c2904f55eb9a43b3eb8057e9f11767a624dff.tar.bz2 fork-ledger-8e8c2904f55eb9a43b3eb8057e9f11767a624dff.zip |
Never price commodities using annotated commodities
Diffstat (limited to 'src/annotate.cc')
-rw-r--r-- | src/annotate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/annotate.cc b/src/annotate.cc index c9fd6d3f..41e7a752 100644 --- a/src/annotate.cc +++ b/src/annotate.cc @@ -288,7 +288,7 @@ annotated_commodity_t::find_price(const commodity_t * commodity, return find_price_from_expr(const_cast<expr_t&>(*details.value_expr), commodity, when); - return commodity_t::find_price(target, moment, oldest); + return commodity_t::find_price(target, when, oldest); } commodity_t& |