fix checking of dc<%> set-pen method arguments
This commit is contained in:
parent
85e4fed31f
commit
712ee0cc68
|
@ -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!)]
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
(provide pen%
|
||||
pen-list% the-pen-list
|
||||
pen-width?
|
||||
pen-style-symbol?)
|
||||
|
||||
(define (pen-style-symbol? s)
|
||||
|
|
Loading…
Reference in New Issue
Block a user