Skip to content

Commit

Permalink
Merge Yongun Seong's FQ-dump into stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Sep 30, 2024
2 parents 18bb96f + a780452 commit 711554e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libgnucash/app-utils/gnc-quotes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,11 @@ GncQuotesImpl::report (const char* source, const StrVec& commodities,
{
auto quote_str{query_fq (source, commodities)};
auto ptree{parse_quotes (quote_str)};
auto source_pt_ai{ptree.find(source)};
if (is_currency)
show_currency_quotes(ptree, commodities, verbose);
show_currency_quotes(source_pt_ai->second, commodities, verbose);
else
show_quotes(ptree, commodities, verbose);
show_quotes(source_pt_ai->second, commodities, verbose);
}
catch (const GncQuoteException& err)
{
Expand Down

0 comments on commit 711554e

Please sign in to comment.