Commits

Anonymous committed d0223fb

- #1, Initialize values this also provides a 5x speedup in the imagefttext.phpt
test, because without this patch it never got cache hits (Nuno Lopes)

Comments (0)

Files changed (1)

   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)