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

svn: r12448
This commit is contained in:
Robby Findler 2008-11-14 14:53:20 +00:00
parent 0f8e31d0a2
commit 00abb80504

View File

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