fix #90, actually copy src to dst

master
Pierre Joye 2015-01-17 08:34:07 +01:00
parent b1f431372b
commit 2b3130efe6
1 changed files with 1 additions and 1 deletions

View File

@ -2384,7 +2384,7 @@ BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src) {
}
for (i = 0; i < src->sy; i++) {
for (x = 0; x < src->sx; x++) {
dst->pixels[i][x] = dst->pixels[i][x];
dst->pixels[i][x] = src->pixels[i][x];
}
}
} else {