ensure prev-indent is an exact-nonnegative-integer

master
Matthew Butterick 2 years ago
parent b0d133f4ba
commit 7d41a489c6

@ -11,7 +11,7 @@
(cond (cond
[(not prev-line) 0] [(not prev-line) 0]
[else [else
(define prev-indent (line-indent tbox prev-line)) (define prev-indent (or (line-indent tbox prev-line) 0))
(cond (cond
[(left-bracket? [(left-bracket?
(line-first-visible-char tbox prev-line)) (line-first-visible-char tbox prev-line))

Loading…
Cancel
Save