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

wrong assert?

This commit is contained in:
id
2000-12-05 00:43:22 +00:00
parent 3a52326385
commit eac0eff3ba

View File

@@ -372,11 +372,11 @@ RCombineAreaWithOpaqueness(RImage *image, RImage *src, int sx, int sy,
int dalpha = HAS_ALPHA(image);
int dch = (dalpha ? 4 : 3);
assert(dy <= image->height);
assert(dx <= image->width);
assert(dy < image->height);
assert(dx < image->width);
assert(sy <= height);
assert(sx <= width);
assert(sy + height <= src->height);
assert(sx + width <= src->width);
/* clip */