# HG changeset patch # User Chong Yidong # Date 1181156336 0 # Node ID b0be055b1b7ef026d167ef0ea8996cef3b2b0cbb # Parent 1f5af1cafe75292a6e6b858cefa15e5867ac6348 (xpm_load): Remove spurious call to xpm_init_color_cache. diff -r 1f5af1cafe75 -r b0be055b1b7e src/image.c --- a/src/image.c Wed Jun 06 18:58:48 2007 +0000 +++ b/src/image.c Wed Jun 06 18:58:56 2007 +0000 @@ -3910,9 +3910,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'. */