[balsheet-pnl] cosmetic: improve maxindent calc

75ab45ac3 without 1+ some alignment is incorrect
This commit is contained in:
Christopher Lam 2019-07-05 21:45:44 +08:00
parent bc1bcc718e
commit 1e66d3b2f6

View File

@ -866,7 +866,8 @@ also show overall period profit & loss."))
(multicol-table-right (if enable-dual-columns? (multicol-table-right (if enable-dual-columns?
(gnc:make-html-table) (gnc:make-html-table)
multicol-table-left)) multicol-table-left))
(maxindent (apply max (cons 0 (map gnc-account-get-current-depth accounts))))) (maxindent (1+ (apply max (cons 0 (map gnc-account-get-current-depth
accounts))))))
(gnc:html-document-set-title! (gnc:html-document-set-title!
doc (with-output-to-string doc (with-output-to-string