summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-2.1.1/src/gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/gd/libgd-2.1.1/src/gd.c')
-rw-r--r--Build/source/libs/gd/libgd-2.1.1/src/gd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd.c b/Build/source/libs/gd/libgd-2.1.1/src/gd.c
index cc698a0923f..053873b4d97 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd.c
+++ b/Build/source/libs/gd/libgd-2.1.1/src/gd.c
@@ -2060,7 +2060,7 @@ BGD_DECLARE(void) gdImageFill(gdImagePtr im, int x, int y, int nc)
int alphablending_bak;
/* stack of filled segments */
- /* struct seg stack[FILL_MAX],*sp = stack;; */
+ /* struct seg stack[FILL_MAX],*sp = stack; */
struct seg *stack;
struct seg *sp;
@@ -3631,7 +3631,7 @@ BGD_DECLARE(int) gdImagePaletteToTrueColor(gdImagePtr src)
for (x = 0; x < sx; x++) {
const unsigned char c = *(src_row + x);
if (c == src->transparent) {
- *(dst_row + x) = gdTrueColorAlpha(0, 0, 0, 127);;
+ *(dst_row + x) = gdTrueColorAlpha(0, 0, 0, 127);
} else {
*(dst_row + x) = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]);
}