fixed call/cc -> call-with-current-continuation typo.

This commit is contained in:
frese 2001-07-16 13:06:20 +00:00
parent 37a4d6ac46
commit d198d95710
1 changed files with 9 additions and 8 deletions

View File

@ -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)))