summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/libgd/gdft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c
index 6603cd64c3..30ac2768c9 100644
--- a/ext/gd/libgd/gdft.c
+++ b/ext/gd/libgd/gdft.c
@@ -534,7 +534,7 @@ static void * tweenColorFetch (char **error, void *key)
pixel = a->pixel = b->pixel;
bg = a->bgcolor = b->bgcolor;
fg = a->fgcolor = b->fgcolor;
- im = b->im;
+ im = a->im = b->im;
/* if fg is specified by a negative color idx, then don't antialias */
if (fg < 0) {