diff src/xfaces.c @ 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 bec1d17789a6
children ef22c9575b53 0432020d46a7
line wrap: on
line diff
--- 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;