Commit 582080c1 authored by Jim Blandy's avatar Jim Blandy

* 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.
parent b5aaed99
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment