fixed call/cc -> call-with-current-continuation typo.
This commit is contained in:
parent
37a4d6ac46
commit
d198d95710
|
@ -54,14 +54,15 @@
|
|||
r)))
|
||||
|
||||
(define (color-list-find* r g b) ;; r,g,b as integers
|
||||
(call/cc (lambda (return)
|
||||
(table-walk (lambda (key value)
|
||||
(let ((color (weak-pointer-ref value)))
|
||||
(if (equal? (list r g b)
|
||||
(extract-rgb-values color))
|
||||
(return key))))
|
||||
*weak-color-list*)
|
||||
#f)))
|
||||
(call-with-current-continuation
|
||||
(lambda (return)
|
||||
(table-walk (lambda (key value)
|
||||
(let ((color (weak-pointer-ref value)))
|
||||
(if (equal? (list r g b)
|
||||
(extract-rgb-values color))
|
||||
(return key))))
|
||||
*weak-color-list*)
|
||||
#f)))
|
||||
|
||||
(define (color-list-set! Xcolor color)
|
||||
(let ((p (make-weak-pointer color)))
|
||||
|
|
Loading…
Reference in New Issue