- bug in make-gcontext-getter fixed
This commit is contained in:
parent
acc76aa869
commit
6984e99ccc
|
@ -276,7 +276,8 @@
|
||||||
|
|
||||||
(define (make-gcontext-getter name)
|
(define (make-gcontext-getter name)
|
||||||
(lambda (gcontext)
|
(lambda (gcontext)
|
||||||
(cdr (assq name (get-gcontext-values gcontext)))))
|
(let ((values (get-gcontext-values gcontext)))
|
||||||
|
(and values (cdr (assq name values))))))
|
||||||
|
|
||||||
(define gcontext-function (make-gcontext-getter (gc-value function)))
|
(define gcontext-function (make-gcontext-getter (gc-value function)))
|
||||||
(define gcontext-plane-mask (make-gcontext-getter (gc-value plane-mask)))
|
(define gcontext-plane-mask (make-gcontext-getter (gc-value plane-mask)))
|
||||||
|
|
Loading…
Reference in New Issue