Skip to content

Commit

Permalink
correct (setf save-alpha-p) to use &optional instead of &key
Browse files Browse the repository at this point in the history
Thanks to stassats for reporting.
  • Loading branch information
hanshuebner committed Feb 12, 2012
1 parent 612f2f6 commit b4b552b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colors.lisp
Expand Up @@ -200,7 +200,7 @@ information."
(check-type image image) (check-type image image)
(not (zerop (get-slot-value (img image) 'gd-image 'save-alpha-flag)))) (not (zerop (get-slot-value (img image) 'gd-image 'save-alpha-flag))))


(defun (setf save-alpha-p) (save &key (image *default-image*)) (defun (setf save-alpha-p) (save &optional (image *default-image*))
"Determines whether PNG images will be saved with full alpha channel "Determines whether PNG images will be saved with full alpha channel
information." information."
(check-type image image) (check-type image image)
Expand Down

0 comments on commit b4b552b

Please sign in to comment.