fix coerce-to-cache-image-snip
svn: r12973
This commit is contained in:
parent
e92b588985
commit
b58664d1f8
|
@ -277,6 +277,7 @@
|
|||
;; coerce-to-cache-image-snip : image -> (is-a?/c cache-image-snip%)
|
||||
(define (coerce-to-cache-image-snip snp)
|
||||
(cond
|
||||
[(is-a? snp cache-image-snip%) snp]
|
||||
[(hash-table-get image-snip-cache snp (λ () #f)) => values]
|
||||
[(is-a? snp image-snip%)
|
||||
(let* ([bmp (send snp get-bitmap)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user