mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
79f434ed6c
commit
c39267cc92
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user