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

Comparing ray/src/common/font.c (file contents):
Revision 2.15 by schorsch, Sat Jun 7 12:50:20 2003 UTC vs.
Revision 2.16 by schorsch, Sun Jul 27 22:12:01 2003 UTC

# Line 129 | Line 129 | FONT *fnt;
129          register FONT  *fl, *f;
130          register int  i;
131                                          /* check reference count */
132 <        if (fnt != NULL && (fnt->nref-- > 1 | retainfonts))
132 >        if (fnt != NULL && ((fnt->nref-- > 1) | retainfonts))
133                  return;
134          head.next = fontlist;
135          fl = &head;
136          while ((f = fl->next) != NULL)
137 <                if ((fnt == NULL | fnt == f)) {
137 >                if ((fnt == NULL) | (fnt == f)) {
138                          fl->next = f->next;
139                          for (i = 0; i < 256; i++)
140                                  if (f->fg[i] != NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines