mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
Bug 798802 - Online Price quote - Stocks not working GNU 5.0 Windows
Change the property-tree path delimiter for constructing paths from '.' that's commonly used in stock symbols, to '|' that isn't.
This commit is contained in:
parent
ecdd9dea50
commit
a587dfff2c
@ -479,8 +479,9 @@ GncQuotesImpl::query_fq (const char* source, const StrVec& commodities)
|
||||
commodities.cend(),
|
||||
[source, &pt](auto sym)
|
||||
{
|
||||
std::string key{source};
|
||||
key += "." + sym;
|
||||
using Path = bpt::ptree::path_type;
|
||||
Path key{source, '|'};
|
||||
key /= Path{sym, '|'};
|
||||
pt.put(key, "");
|
||||
});
|
||||
std::ostringstream result;
|
||||
|
Loading…
Reference in New Issue
Block a user