Merge from 1.4 -- Bartek Szady's patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2865 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-09-16 09:25:15 +00:00
parent 79f434ed6c
commit c39267cc92

View File

@ -604,7 +604,9 @@ xaccAccountRecomputeBalance( Account * acc )
/* For bank accounts, the invariant subtotal is the dollar
* amount. For stock accounts, the invariant is the share amount */
if ( (STOCK == acc->type) || ( MUTUAL == acc->type) ) {
if ( (STOCK == acc->type) ||
(MUTUAL == acc->type) ||
(CURRENCY == acc->type) ) {
split -> share_balance = share_balance;
split -> share_cleared_balance = share_cleared_balance;
split -> share_reconciled_balance = share_reconciled_balance;