oops,droped a line for the cleared balance

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@292 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1997-12-05 21:05:28 +00:00
parent 1e493d882d
commit efc60b618c

View File

@ -861,8 +861,8 @@ regRecalculateBalance( RegWindow *regData )
* Note, however, that this algorithm will provide confusing
* results unless all transactions are absolutely ordered.
* That is, date order is not enough, if several transactions
* occur on the same date: they MUST be completely disambiguated
* and absolutely ordered.
* occur on the same date: the same transactions must occur
* *IN THE SAME ORDER* in the different accounts.
*/
if (is_credit) {
tmp = xaccGetBalance (credit_acc, trans);
@ -898,6 +898,7 @@ regRecalculateBalance( RegWindow *regData )
* bank account, and a debit to the income account.
* Thus, positive and negative are interchanged */
prt_balance = dbalance;
prt_clearedBalance = dclearedBalance;
if( (EXPENSE == regData->type) ||
(INCOME == regData->type) ||
(INC_LEDGER == regData->type) ) {