mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
Updating to version 0.20.2
Many bug fixes.
This commit is contained in:
@@ -68,8 +68,8 @@ RPutPixel(RImage *image, int x, int y, RColor *color)
|
||||
|
||||
assert(image!=NULL);
|
||||
assert(color!=NULL);
|
||||
assert(x >= 0 && x < image->width);
|
||||
assert(y >= 0 && y < image->height);
|
||||
if (x < 0 || x >= image->width || y < 0 || y >= image->height)
|
||||
return;
|
||||
|
||||
ofs = y*image->width + x;
|
||||
sr = image->data[0] + ofs;
|
||||
|
||||
Reference in New Issue
Block a user