comparison 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
comparison
equal deleted inserted replaced
53273:0f1ef5c0e5d7 53274:c6ecb6ee69bf
3184 int i; 3184 int i;
3185 3185
3186 for (i = 1; i < LFACE_VECTOR_SIZE; ++i) 3186 for (i = 1; i < LFACE_VECTOR_SIZE; ++i)
3187 if (i != LFACE_FONT_INDEX && i != LFACE_INHERIT_INDEX 3187 if (i != LFACE_FONT_INDEX && i != LFACE_INHERIT_INDEX
3188 && i != LFACE_AVGWIDTH_INDEX) 3188 && i != LFACE_AVGWIDTH_INDEX)
3189 if (UNSPECIFIEDP (attrs[i])) 3189 if (UNSPECIFIEDP (attrs[i])
3190 #ifdef MAC_OS
3191 /* MAC_TODO: No stipple support on Mac OS yet, this index is
3192 always unspecified. */
3193 && i != LFACE_STIPPLE_INDEX
3194 #endif
3195 )
3190 break; 3196 break;
3191 3197
3192 return i == LFACE_VECTOR_SIZE; 3198 return i == LFACE_VECTOR_SIZE;
3193 } 3199 }
3194 3200