mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
[html-acct-table] compact gnc:html-acct-table-get-cell
This commit is contained in:
parent
8bf54ebfc1
commit
7ad4c4afbd
@ -850,12 +850,9 @@
|
|||||||
(define (gnc:html-acct-table-get-cell acct-table row col)
|
(define (gnc:html-acct-table-get-cell acct-table row col)
|
||||||
;; we'll only ever store one object in an html-table-cell
|
;; we'll only ever store one object in an html-table-cell
|
||||||
;; returns the first object stored in that cell
|
;; returns the first object stored in that cell
|
||||||
(let* ((cell (gnc:html-table-get-cell
|
(and-let* ((cell (gnc:html-table-get-cell
|
||||||
(gnc:_html-acct-table-matrix_ acct-table)
|
(gnc:_html-acct-table-matrix_ acct-table) row (1+ col))))
|
||||||
row (+ col 1))))
|
(car (gnc:html-table-cell-data cell))))
|
||||||
(and cell (car (gnc:html-table-cell-data cell)))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define (gnc:html-acct-table-set-cell! acct-table row col obj)
|
(define (gnc:html-acct-table-set-cell! acct-table row col obj)
|
||||||
(gnc:html-table-set-cell!
|
(gnc:html-table-set-cell!
|
||||||
|
Loading…
Reference in New Issue
Block a user