1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

fixed bug in RCOmbineAreaWithOpaq

This commit is contained in:
kojima
2000-09-15 14:44:19 +00:00
parent 9f98db6791
commit 3be86a5778

View File

@@ -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;