AUDIT: r17850 - gnucash/trunk/src/engine - Bug #568945: gnc_pricedb_convert_balance_* should look for the reciprocal of the exchange rate

Christian Stimming cstim at cvs.gnucash.org
Wed Jan 28 15:55:12 EST 2009


Author: cstim
Date: 2009-01-28 15:55:11 -0500 (Wed, 28 Jan 2009)
New Revision: 17850
Trac: http://svn.gnucash.org/trac/changeset/17850

Modified:
   gnucash/trunk/src/engine/gnc-pricedb.c
Log:
Bug #568945: gnc_pricedb_convert_balance_* should look for the reciprocal of the exchange rate

If the price DB contains the reciprocal of the exchange rate which
gnc_pricedb_convert_balance_nearest_price,
gnc_pricedb_convert_balance_latest_price, and
gnc_pricedb_convert_balance_latest_before need to do their conversion they
don't find it and return zero.

Patch by Mike Alexander.
BP



More information about the gnucash-patches mailing list