# HG changeset patch # User Jim Blandy # Date 740354620 0 # Node ID 48b1ef14918055da08edd4a0a91bedd4c470baf8 # Parent 87d9ef5f831b433fadc44eb15c3a8da2df5f15b0 * 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. diff -r 87d9ef5f831b -r 48b1ef149180 src/xfaces.c --- 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; }