AUDIT: r17656 - gnucash/trunk/src - Bug #529494: Fix wrong fractional precision in register with multi-currency transactions

Christian Stimming cstim at cvs.gnucash.org
Sat Oct 25 16:30:59 EDT 2008


Author: cstim
Date: 2008-10-25 16:30:58 -0400 (Sat, 25 Oct 2008)
New Revision: 17656
Trac: http://svn.gnucash.org/trac/changeset/17656

Modified:
   gnucash/trunk/src/app-utils/gnc-ui-util.c
   gnucash/trunk/src/app-utils/gnc-ui-util.h
   gnucash/trunk/src/register/ledger-core/split-register-model.c
Log:
Bug #529494: Fix wrong fractional precision in register with multi-currency transactions

This patch replaces the function gnc_split_value_print_info, which returns the
print info for the currency of the split's transaction, with a new function,
gnc_split_register_print_info, which returns the print info for the split
register's default account.  That way the amounts displayed in the register use
the fraction of the register's account, rather than the fraction of the
transaction's currency.

Patch by Daniel Harding.
BP



More information about the gnucash-patches mailing list