fix checking of dc<%> set-pen method arguments

This commit is contained in:
Matthew Flatt 2010-09-16 18:27:42 -06:00
parent 85e4fed31f
commit 712ee0cc68
2 changed files with 2 additions and 1 deletions

View File

@ -493,7 +493,7 @@
args
[([pen% p]) (set-pen! p) (reset-align!)]
[([(make-alts string? color%) col]
[exact-nonnegative-integer? width]
[pen-width? width]
[pen-style-symbol? style])
(set-pen! (send the-pen-list find-or-create-pen col width style))
(reset-align!)]

View File

@ -7,6 +7,7 @@
(provide pen%
pen-list% the-pen-list
pen-width?
pen-style-symbol?)
(define (pen-style-symbol? s)