Rev 8171 | Rev 8195 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8171 | Rev 8177 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | * |
12 | * |
13 | * You should have received a copy of the GNU General Public License |
13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program; if not, write to the Free Software |
14 | * along with this program; if not, write to the Free Software |
15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
16 | */ |
16 | */ |
17 | #include "flydraw.h" |
- | |
- | 17 | ||
18 | #include <errno.h> |
18 | #include <errno.h> |
- | 19 | #include "flydraw.h" |
|
- | 20 | ||
19 | /* bug in gdImageFillToBorder */ |
21 | /* bug in gdImageFillToBorder */ |
20 | 22 | ||
21 | void patchgdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color) |
23 | void patchgdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color) |
22 | { |
24 | { |
23 | if(x>=im->sx || x<0 || y>=im->sy || y<0) return; |
25 | if(x>=im->sx || x<0 || y>=im->sy || y<0) return; |