Commit 32dc0866 authored by Jim Blandy's avatar Jim Blandy
Browse files

* xfaces.c (unload_color): Don't try to unload the standard black

	or white pixel.
parent 3dbc7e32
......@@ -406,7 +406,9 @@ unload_color (f, pixel)
{
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment