1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* xfaces.c (compute_base_face): Initialize the face's stipple.

Although we don't use this feature now, face_eql notices it.

	* xfaces.c (compute_base_face): Set cached_index to an invalid
	index, to avoid an unnecessary comparison.
This commit is contained in:
Jim Blandy 1993-06-17 22:03:40 +00:00
parent b5aaed99d0
commit 582080c149

View File

@ -647,7 +647,11 @@ compute_base_face (f, face)
face->foreground = d->foreground_pixel;
face->background = d->background_pixel;
face->font = d->font;
face->stipple = 0;
face->underline = 0;
/* Avoid a face comparison by making this invalid. */
face->cached_index = -1;
}