Mercurial > emacs
changeset 53274:c6ecb6ee69bf
* xfaces.c (lface_fully_specified_p): Take into account that
MAC OS always have unspecified stipple.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 24 Dec 2003 10:29:59 +0000 |
parents | 0f1ef5c0e5d7 |
children | a07a0bae1990 |
files | src/ChangeLog src/xfaces.c |
diffstat | 2 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Dec 24 10:05:48 2003 +0000 +++ b/src/ChangeLog Wed Dec 24 10:29:59 2003 +0000 @@ -1,3 +1,8 @@ +2003-12-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> + + * xfaces.c (lface_fully_specified_p): Take into account that + MAC OS always have unspecified stipple. + 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> * tparam.c (tparam1): Add handling for `%pN', which
--- a/src/xfaces.c Wed Dec 24 10:05:48 2003 +0000 +++ b/src/xfaces.c Wed Dec 24 10:29:59 2003 +0000 @@ -3186,7 +3186,13 @@ for (i = 1; i < LFACE_VECTOR_SIZE; ++i) if (i != LFACE_FONT_INDEX && i != LFACE_INHERIT_INDEX && i != LFACE_AVGWIDTH_INDEX) - if (UNSPECIFIEDP (attrs[i])) + if (UNSPECIFIEDP (attrs[i]) +#ifdef MAC_OS + /* MAC_TODO: No stipple support on Mac OS yet, this index is + always unspecified. */ + && i != LFACE_STIPPLE_INDEX +#endif + ) break; return i == LFACE_VECTOR_SIZE;