# HG changeset patch # User Chong Yidong # Date 1181156232 0 # Node ID a77470efa868990f67d4e3ab470f13b0140ed42c # Parent 1c068a2f6c6b8cec6fca39ea6c9326e90d4da8b3 (xpm_load): Remove spurious call to xpm_init_color_cache. diff -r 1c068a2f6c6b -r a77470efa868 src/image.c --- a/src/image.c Wed Jun 06 18:57:02 2007 +0000 +++ b/src/image.c Wed Jun 06 18:57:12 2007 +0000 @@ -3978,9 +3978,6 @@ 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'. */