]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfaces.c (lface_fully_specified_p): Take into account that
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 24 Dec 2003 10:29:59 +0000 (10:29 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 24 Dec 2003 10:29:59 +0000 (10:29 +0000)
  MAC OS always have unspecified stipple.

src/ChangeLog
src/xfaces.c

index b25a81ac60d475ed99eee4c6c02c9d81e9472431..2633c55a6bac7c01a3cbca01c92f148df599881a 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-24  Jan Dj\e,Ad\e(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
index 37a3cc1b0f0f9a1ea25d6d88255316d79f8447c4..f079e2e4484999e51589064b9f925e6b17b5ebb0 100644 (file)
@@ -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;