mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
fixed bug in RCOmbineAreaWithOpaq
This commit is contained in:
1 parent
9f98db6791
commit
3be86a5778
1 file changed
+1
-1
+1
-1
@@ -386,7 +386,7 @@ RCombineAreaWithOpaqueness(RImage *image, RImage *src, int sx, int sy,
|
||||
if (height > image->height - dy)
|
||||
height = image->height - dy;
|
||||
|
||||
d = image->data + dy*image->width*dch + dx;
|
||||
d = image->data + (dy*image->width + dx) * dch;
|
||||
dwi = (image->width - width)*dch;
|
||||
|
||||
c_opaqueness = 255 - opaqueness;
|
||||
|
||||
Reference in new issue
Block a user