Mercurial > emacs
changeset 3811:48b1ef149180
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Thu, 17 Jun 1993 22:03:40 +0000 |
parents | 87d9ef5f831b |
children | 0bc757649dd7 |
files | src/xfaces.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Thu Jun 17 22:03:06 1993 +0000 +++ b/src/xfaces.c Thu Jun 17 22:03:40 1993 +0000 @@ -647,7 +647,11 @@ 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; }