r17697 - gnucash/branches/2.2/src - [r17656] Bug #529494: Fix wrong fractional precision in register with multi-currency transactions
Christian Stimming
cstim at cvs.gnucash.org
Sat Nov 15 16:41:15 EST 2008
Author: cstim
Date: 2008-11-15 16:41:13 -0500 (Sat, 15 Nov 2008)
New Revision: 17697
Trac: http://svn.gnucash.org/trac/changeset/17697
Modified:
gnucash/branches/2.2/src/app-utils/gnc-ui-util.c
gnucash/branches/2.2/src/app-utils/gnc-ui-util.h
gnucash/branches/2.2/src/register/ledger-core/split-register-model.c
Log:
[r17656] 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.
More information about the gnucash-patches
mailing list