Skip to content

Commit b9e9123

Browse files
committed
two places missing pict-convertible->pict calls
1 parent f97c745 commit b9e9123

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

redex-pict-lib/redex/private/core-layout.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@
902902
(error 'apply-rewrites "rewritten version of ~s is still ~s" e e))
903903
(let ([p (cadr m)])
904904
(if (procedure? p)
905-
(p)
905+
(pict-convertible->pict (p))
906906
p)))]
907907
[else e]))
908908

redex-pict-lib/redex/private/pict.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@
417417
'comma)])
418418
(if (null? lst)
419419
(blank)
420-
(let ([where ((where-make-prefix-pict))])
420+
(let ([where (pict-convertible->pict ((where-make-prefix-pict)))])
421421
(let ([max-w (- max-w (pict-width where))])
422422
(htl-append where
423423
(let loop ([p (car lst)][lst (cdr lst)])

0 commit comments

Comments
 (0)