gnucash maint: Multiple changes pushed

Christopher Lam clam at
Thu Sep 5 08:59:57 EDT 2019

Updated	 via (commit)
	 via (commit)
	from (commit)

commit 9b52fa685fabbc00c401d816a1da9685aadd9b4c
Author: Christopher Lam <christopher.lck at>
Date:   Thu Sep 5 19:31:15 2019 +0800

    [html-acct-table] ensure an integer number of empty-cells
    tbl-width is not necessarily an even number; tbl-width being odd would
    result in a half-fraction when calculating number of
    empty-cells. convert to the appropriate integer.
    this is the proper fix for the bug fixed by d865b149.

commit b9af094f8b9c40caf4b472fda430dd87ca13e0c0
Author: Christopher Lam <christopher.lck at>
Date:   Thu Sep 5 19:28:32 2019 +0800

    [reports] fix some uses of assoc-ref
    assoc-ref (or better, assq-ref because we're comparing symbols) is
    used to lookup from the 'car's of a list of pairs, and return the
    found pair's 'cdr'. the previous use of 2-element lists demonstrate a
    lack of understanding how to encode the list of pairs. rewrite using
    proper pairs rather than 2-element lists, which means the assq-ref
    does not need a subsequent 'car' to retrieve the desired symbol.

Summary of changes:
 gnucash/report/report-system/html-acct-table.scm        | 14 +++++---------
 gnucash/report/standard-reports/account-summary.scm     |  7 +++----
 gnucash/report/standard-reports/balance-sheet.scm       |  7 +++----
 .../report/standard-reports/budget-balance-sheet.scm    |  7 +++----
 .../report/standard-reports/budget-income-statement.scm |  7 +++----
 gnucash/report/standard-reports/income-statement.scm    |  7 +++----
 gnucash/report/standard-reports/sx-summary.scm          |  7 +++----
 gnucash/report/standard-reports/trial-balance.scm       | 17 ++++++++---------
 8 files changed, 31 insertions(+), 42 deletions(-)

More information about the gnucash-patches mailing list