summaryrefslogtreecommitdiff
path: root/src/annotate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-30 00:38:29 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-30 00:51:05 -0500
commit8e8c2904f55eb9a43b3eb8057e9f11767a624dff (patch)
treebd7473e6ca867ab8a2fe10cc657484810e8daac7 /src/annotate.cc
parent4b2b9dc009e5f44029cc23ea17e0a5c98266baff (diff)
downloadfork-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.cc2
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&