(struct face) <colors_copied_bitwise_p>: New

member.
This commit is contained in:
Gerd Moellmann
2001-10-31 11:12:09 +00:00
parent 28a072fe30
commit dd387b25cd
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,14 @@
2001-10-31 Gerd Moellmann <gerd@gnu.org>
* xfaces.c (realize_x_face): If C is not a single-byte character,
set the face's colors_copied_bitwise_p instead of the defaulted_p
members which have a different meaning.
(free_face_colors): Do nothing for a face whose colors have been
copied bitwise.
* dispextern.h (struct face) <colors_copied_bitwise_p>: New
member.
2001-10-31 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* marker.c: Change doc-string comments to `new style' [w/`doc:'

View File

@@ -1313,6 +1313,11 @@ struct face
unsigned tty_reverse_p : 1;
unsigned tty_blinking_p : 1;
/* 1 means that colors of this face may not be freed because they
have been copied bitwise from a base face (see
realize_x_face). */
unsigned colors_copied_bitwise_p : 1;
/* Next and previous face in hash collision list of face cache. */
struct face *next, *prev;