ASCII art box - don't search past extra +x space
This commit is contained in:
parent
7627e4c47e
commit
2f61d04073
|
@ -1530,11 +1530,10 @@
|
|||
|
||||
(define (scan-for-start-pos t pos)
|
||||
(define-values (x y) (pos->xy t pos))
|
||||
(define adjs '(0 -1 1))
|
||||
(findf
|
||||
(λ (p) (i? t p))
|
||||
(for*/list ([xadj adjs]
|
||||
[yadj adjs])
|
||||
(for*/list ([xadj '(0 -1)]
|
||||
[yadj '(0 -1 1)])
|
||||
(xy->pos t (+ x xadj) (+ y yadj)))))
|
||||
|
||||
(define (i? t pos)
|
||||
|
|
Loading…
Reference in New Issue
Block a user