* xfaces.c (compute_char_face): When merging the overlays,
authorJim Blandy <jimb@redhat.com>
Fri, 14 May 1993 14:44:01 +0000 (14:44 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 14 May 1993 14:44:01 +0000 (14:44 +0000)
commitf6b98e0be9be1c213281df3edf774b3ae909afa4
tree1f01f373b0d2c33452b7d2251e72db2a1999921c
parent04a759c81b944287c3a826eed57ee56a3bea5c03
* xfaces.c (compute_char_face): When merging the overlays,
traverse sortvec, not overlay_vec; the latter isn't the one we
sorted.

* xfaces.c (intern_face): If the face has a GC, but it's not the
default or modeline face, abort.  Nothing but those two faces
should have a GC *and* be passed to intern_face.
(compute_char_face, compute_glyph_face): After copying
the frame's default face into face, to use as a base case for
calculation, set the `gc' member to zero; that way we don't have
things lying around that look like display faces but aren't.

* xfaces.c (intern_frame_face): When copying the new face into the
frame's face array, remember that the number of bytes to copy is
sizeof (*new_face), not sizeof (new_face).

* xfaces.c (compute_char_face): Assume that W is displaying the
current buffer.  Abort if it isn't.
src/xfaces.c