gnucash maint: [new-owner-report] use let* to access split->owner
Christopher Lam
clam at code.gnucash.org
Mon Feb 13 10:28:13 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/851b51d5 (commit)
from https://github.com/Gnucash/gnucash/commit/4953cf94 (commit)
commit 851b51d5472f1a414e745081eb286abb7f7fe01a
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Feb 13 23:27:38 2023 +0800
[new-owner-report] use let* to access split->owner
oops
diff --git a/gnucash/report/reports/standard/new-owner-report.scm b/gnucash/report/reports/standard/new-owner-report.scm
index e95f01637..7c7c0a9e4 100644
--- a/gnucash/report/reports/standard/new-owner-report.scm
+++ b/gnucash/report/reports/standard/new-owner-report.scm
@@ -1246,8 +1246,8 @@ and do not match the transaction."))))))))
(define (gnc:owner-report-create-internal
account split query journal? double? title debit-string credit-string)
- (let ((split->owner (gnc:make-split->owner))
- (owner (split->owner split)))
+ (let* ((split->owner (gnc:make-split->owner))
+ (owner (split->owner split)))
(if (gncOwnerIsValid owner)
(owner-report-create-with-enddate owner account #f)
-1)))
Summary of changes:
gnucash/report/reports/standard/new-owner-report.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list