mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Added missing bit from gd2.0.12 sync.
This commit is contained in:
parent
bb0f885d51
commit
7029ef01b3
1 changed files with 2 additions and 1 deletions
|
@ -638,6 +638,7 @@ int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define gdImageBoundsSafe(im, x, y) (!(y < 0 || y >= (im)->sy || x < 0 || x >= (im)->sx))
|
/* 2.0.12: this now checks the clipping rectangle */
|
||||||
|
#define gdImageBoundsSafe(im, x, y) (!((((y) < (im)->cy1) || ((y) > (im)->cy2)) || (((x) < (im)->cx1) || ((x) > (im)->cx2))))
|
||||||
|
|
||||||
#endif /* GD_H */
|
#endif /* GD_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue