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.7 by greg, Fri Oct 2 16:20:26 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          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines