(unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT.
authorRichard M. Stallman <rms@gnu.org>
Sun, 23 Oct 1994 09:40:07 +0000 (09:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 23 Oct 1994 09:40:07 +0000 (09:40 +0000)
src/xfaces.c

index 2a466e6..66f517b 100644 (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;