]> git.eshelyaron.com Git - emacs.git/commitdiff
(xpm_load): Remove spurious call to xpm_init_color_cache.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 6 Jun 2007 18:57:12 +0000 (18:57 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 6 Jun 2007 18:57:12 +0000 (18:57 +0000)
src/image.c

index 789de0223be43992ad0238f629263cbf85e4bbc9..9cfcd5a63f8627898f01e41182e26324a5a88811 100644 (file)
@@ -3978,9 +3978,6 @@ xpm_load (f, img)
   attrs.valuemask |= XpmCloseness;
 #endif /* not XpmAllocCloseColors */
 #endif /* ALLOC_XPM_COLORS */
-#ifdef ALLOC_XPM_COLORS
-  xpm_init_color_cache (f, &attrs);
-#endif
 
   /* If image specification contains symbolic color definitions, add
      these to `attrs'.  */