diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2003-12-24 10:29:59 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2003-12-24 10:29:59 +0000 |
commit | 5202d23dfe53de7a113c0d05561ad34a8a770715 (patch) | |
tree | a88c64306d8f8dd6f72cb5bf9436efb12c40a052 /src/xfaces.c | |
parent | 56090b0b3b40fb7df4b6b09ef9cd123359491e32 (diff) | |
download | emacs-5202d23dfe53de7a113c0d05561ad34a8a770715.tar.gz |
* xfaces.c (lface_fully_specified_p): Take into account that
MAC OS always have unspecified stipple.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 37a3cc1b0f0..f079e2e4484 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -3186,7 +3186,13 @@ lface_fully_specified_p (attrs) 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; |