Rev 8076 | Rev 8156 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8076 | Rev 8102 | ||
---|---|---|---|
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 | - | ||
- | 17 | #include "flydraw.h" |
|
18 | #include <errno.h> |
18 | #include <errno.h> |
19 | /* bug in gdImageFillToBorder */ |
19 | /* bug in gdImageFillToBorder */ |
20 | void gdImageFillToBorder1 (gdImagePtr im, int x, int y, int border, int color) |
20 | void gdImageFillToBorder1 (gdImagePtr im, int x, int y, int border, int color) |
21 | { |
21 | { |
22 | if(x>=image->sx) x=image->sx-1; if(x<0) x=0; |
22 | if(x>=image->sx) x=image->sx-1; if(x<0) x=0; |