mirror of https://github.com/Gnucash/gnucash
Because when loading the value the split in the xml backend doesn't yet have a parent so the code tried to convert to GNC_COMMODITY_MAX_FRACTION and if the numerator was larger than 10^10 that would overflow. To fix it this changes the "don't know" response to get_currency_denom and get_commodity_denom to GNC_DENOM_AUTO which will normally leave the denominator alone.pull/1437/head
parent
1752f1d19d
commit
7c350c3ae5
Loading…
Reference in new issue