diff src/xfaces.c @ 2818:d1cfc6cbdbf7

* xfaces.c (unload_color): Don't try to unload the standard black or white pixel.
author Jim Blandy <jimb@redhat.com>
date Sun, 16 May 1993 00:23:33 +0000
parents e97e96fb0cb8
children 95010b414003
line wrap: on
line diff
--- 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;