# HG changeset patch # User Jim Blandy # Date 737511813 0 # Node ID d1cfc6cbdbf7746a00ec2159230a3302e310bc71 # Parent d28c54ba888e6db918802dc37d268cc7024b2750 * xfaces.c (unload_color): Don't try to unload the standard black or white pixel. diff -r d28c54ba888e -r d1cfc6cbdbf7 src/xfaces.c --- a/src/xfaces.c Sat May 15 23:57:11 1993 +0000 +++ b/src/xfaces.c Sun May 16 00:23:33 1993 +0000 @@ -406,7 +406,9 @@ { Colormap cmap; Display *dpy = x_current_display; - if (pixel == FACE_DEFAULT) + if (pixel == FACE_DEFAULT + || pixel == BLACK_PIX_DEFAULT + || pixel == WHITE_PIX_DEFAULT) return; cmap = DefaultColormapOfScreen (DefaultScreenOfDisplay (x_current_display)); BLOCK_INPUT;