fixed a bug found by the random testing from randomly-click-language-dialog.ss
svn: r17897
This commit is contained in:
parent
425dbf5af5
commit
30c5d37b81
|
@ -205,7 +205,8 @@
|
||||||
(λ (window)
|
(λ (window)
|
||||||
(let ([frame (get-active-frame)])
|
(let ([frame (get-active-frame)])
|
||||||
(let loop ([window window])
|
(let loop ([window window])
|
||||||
(cond [(null? window) #f]
|
(cond [(not window) #f]
|
||||||
|
[(null? window) #f] ;; is this test needed?
|
||||||
[(eq? window frame) #t]
|
[(eq? window frame) #t]
|
||||||
[else (loop (send window get-parent))])))))
|
[else (loop (send window get-parent))])))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user