Commit 0704eec9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT.

parent 5c3a351a
......@@ -374,8 +374,8 @@ unload_color (f, pixel)
Colormap cmap;
Display *dpy = FRAME_X_DISPLAY (f);
if (pixel == FACE_DEFAULT
|| pixel == BLACK_PIX_DEFAULT
|| pixel == WHITE_PIX_DEFAULT)
|| pixel == BLACK_PIX_DEFAULT (f)
|| pixel == WHITE_PIX_DEFAULT (f))
return;
cmap = DefaultColormapOfScreen (DefaultScreenOfDisplay (dpy));
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