Bug fixes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2340 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-05-16 11:00:46 +00:00
parent 50c26be1b8
commit c72340ee0a
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2000-05-16 Dave Peticolas <peticola@cs.ucdavis.edu>
* src/guile/guile-util.c: many bug fixes.
* src/scm/engine-interface.scm: fix list-ref arg order bug.
* src/SplitLedger.c (xaccSRCountRows): fix a bug when a two or
more splits from the same transaction are in the same account. Fix
other bugs including not accessing deleted splits/transactions.

View File

@ -191,7 +191,7 @@
(cond ((< index 0) #f)
((not (pair? split-scms)) #f)
((>= index (length split-scms)) #f)
(else (list-ref index split-scms)))))
(else (list-ref split-scms index)))))
(define (gnc:transaction-scm-get-other-split-scm trans-scm split-scm)
(let ((split-scms (gnc:transaction-scm-get-split-scms trans-scm)))