diff --git a/ChangeLog b/ChangeLog index a3b02f2ffb..7df63471cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2003-08-29 David Hampton + + * src/engine/Account.c: Fix bug in computing cleared balance. The + bug was introdiced 4/1. + + * lots of scm files: Remove the RCS "Id:" tag. Its a PITA when + syncing between branches. + 2003-08-28 Christian Stimming * src/import-export/import-backend.c: Aaarg. Fixed extremely diff --git a/src/engine/Account.c b/src/engine/Account.c index 84c58b8aec..a912709dcc 100644 --- a/src/engine/Account.c +++ b/src/engine/Account.c @@ -1200,7 +1200,7 @@ xaccAccountRecomputeBalance (Account * acc) balance = gnc_numeric_add_fixed(balance, split->amount); - if (CREC == split->reconciled) + if (NREC != split->reconciled) cleared_balance = gnc_numeric_add_fixed(cleared_balance, split->amount); if (YREC == split->reconciled ||