--- ray/src/rt/text.c 2003/05/13 17:58:33 2.22 +++ ray/src/rt/text.c 2004/02/12 18:55:50 2.24 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: text.c,v 2.22 2003/05/13 17:58:33 greg Exp $"; +static const char RCSid[] = "$Id: text.c,v 2.24 2004/02/12 18:55:50 greg Exp $"; #endif /* * text.c - functions for text patterns and mixtures. @@ -9,6 +9,8 @@ static const char RCSid[] = "$Id: text.c,v 2.22 2003/0 #include "ray.h" +#include "paths.h" + #include "otypes.h" #include "font.h" @@ -325,7 +327,7 @@ register GLYPH *gl; /* positive x axis cross test */ while (n--) { if ((p0[1]<<1 > ylb) ^ (p1[1]<<1 > ylb)) { - tv = p0[0]<<1 > xlb | (p1[0]<<1 > xlb) << 1; + tv = (p0[0]<<1 > xlb) | ((p1[0]<<1 > xlb) << 1); if (tv == 03) ncross++; else if (tv)