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 (scan-for-start-pos t pos)
|
||||||
(define-values (x y) (pos->xy t pos))
|
(define-values (x y) (pos->xy t pos))
|
||||||
(define adjs '(0 -1 1))
|
|
||||||
(findf
|
(findf
|
||||||
(λ (p) (i? t p))
|
(λ (p) (i? t p))
|
||||||
(for*/list ([xadj adjs]
|
(for*/list ([xadj '(0 -1)]
|
||||||
[yadj adjs])
|
[yadj '(0 -1 1)])
|
||||||
(xy->pos t (+ x xadj) (+ y yadj)))))
|
(xy->pos t (+ x xadj) (+ y yadj)))))
|
||||||
|
|
||||||
(define (i? t pos)
|
(define (i? t pos)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user