fixed a bug found by the random testing from randomly-click-language-dialog.ss
svn: r17897 original commit: 30c5d37b81cdd70f517eab7392896e8afffad6e6
This commit is contained in:
parent
88384ffeb0
commit
d70673cdc6
|
@ -205,8 +205,9 @@
|
||||||
(λ (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]
|
||||||
[(eq? window frame) #t]
|
[(null? window) #f] ;; is this test needed?
|
||||||
|
[(eq? window frame) #t]
|
||||||
[else (loop (send window get-parent))])))))
|
[else (loop (send window get-parent))])))))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user