fixed a bug in copy/paste of images that have a zero dimension

svn: r12448

original commit: 00abb80504d5c5c6839a6240e4969fd18d66fbad
This commit is contained in:
Robby Findler 2008-11-14 14:53:20 +00:00
parent 2c3393f53e
commit e5ebfcb6b9

View File

@ -269,7 +269,7 @@
[height (argb-height argb)]
[argb-vector (argb-vector argb)]
[bitmap (argb->bitmap argb)]
[mask (send bitmap get-loaded-mask)])
[mask (and bitmap (send bitmap get-loaded-mask))])
(new cache-image-snip%
(width width)
(height height)