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

A few bugfixes from users

This commit is contained in:
dan
2001-09-01 14:48:24 +00:00
parent 717392246a
commit 0ee6312164
5 changed files with 12 additions and 4 deletions

View File

@@ -412,7 +412,7 @@ RCombineAreaWithOpaqueness(RImage *image, RImage *src, int sx, int sy,
if (!HAS_ALPHA(src)) {
s = src->data + sy*src->width*3;
s = src->data + (sy*src->width + sx)*3;
swi = (src->width - width) * 3;
for (y=0; y < height; y++) {
@@ -428,7 +428,7 @@ RCombineAreaWithOpaqueness(RImage *image, RImage *src, int sx, int sy,
} else {
int tmp;
s = src->data + sy*src->width*4;
s = src->data + (sy*src->width + sx)*4;
swi = (src->width - width) * 4;
for (y=0; y < height; y++) {