changeset 9671:5c7a3709e81a

(unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT.
author Richard M. Stallman <rms@gnu.org>
date Sun, 23 Oct 1994 09:40:07 +0000
parents a03e0a600f3f
children fdc268ab037d
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Sun Oct 23 09:38:50 1994 +0000
+++ b/src/xfaces.c	Sun Oct 23 09:40:07 1994 +0000
@@ -374,8 +374,8 @@
   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;