fixed a bug in copy/paste of images that have a zero dimension
svn: r12448
This commit is contained in:
parent
0f8e31d0a2
commit
00abb80504
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user