diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-15 04:47:32 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-15 04:58:53 -0500 |
commit | 610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf (patch) | |
tree | db4a99b9f5f41047c0c4632452eb944c93a7f07d /src/filters.cc | |
parent | d9fc09097d3ea290a4bdf0c9b46c8ead3e48043c (diff) | |
download | fork-ledger-610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf.tar.gz fork-ledger-610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf.tar.bz2 fork-ledger-610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf.zip |
Don't map_prices if price commodity matches source
Fixes #680
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc index 9501856e..d5cb8ebb 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -776,7 +776,7 @@ void changed_value_posts::output_intermediate_prices(post_t& post, display_total.as_balance().amounts) amt_comm.first->map_prices(insert_prices_in_map(all_prices), datetime_t(current), - datetime_t(post.value_date())); + datetime_t(post.value_date()), true); // Choose the last price from each day as the price to use typedef std::map<const date_t, bool> date_map; |