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

This commit is contained in:
Richard M. Stallman 1994-10-23 09:40:07 +00:00
parent 5c3a351a29
commit 0704eec933

View file

@ -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;