(unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT.
This commit is contained in:
parent
5c3a351a29
commit
0704eec933
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue