ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/text.c
(Generate patch)

Comparing ray/src/rt/text.c (file contents):
Revision 2.6 by greg, Thu Jun 25 12:05:10 1992 UTC vs.
Revision 2.9 by greg, Sun Nov 22 11:46:46 1992 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1991 Regents of the University of California */
1 > /* Copyright (c) 1992 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 254 | Line 254 | OBJREC  *m;
254          tp = (TEXT *)m->os;
255          if (tp == NULL)
256                  return;
257 <        for (tlp = tp->tl.next; tlp != NULL; tlp = tlp->next) {
257 >        while ((tlp = tp->tl.next) != NULL) {
258 >                tp->tl.next = tlp->next;
259                  free((char *)tlp->spc);
260                  free((char *)tlp);
261          }
# Line 267 | Line 268 | intext(p, m)                   /* check to see if p is in text glyph *
268   FVECT  p;
269   OBJREC  *m;
270   {
270        extern double  fabs();
271          register TEXT  *tp;
272          register TLINE  *tlp;
273          FVECT  v;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines