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

Comparing ray/src/meta/mtext.c (file contents):
Revision 1.6 by schorsch, Sat Nov 15 02:13:37 2003 UTC vs.
Revision 1.7 by greg, Tue Aug 16 18:09:53 2011 UTC

# Line 135 | Line 135 | execute(               /* execute a file */
135      while (!done) {
136          maxlen = 0;
137          for (j = 0; j < nlines; j++) {
138 <            if ((done = fgets(linbuf, MAXLINE, fp) == NULL))
138 >            if ((done = (fgets(linbuf, MAXLINE, fp) == NULL)))
139                  break;
140              k = strlen(linbuf);
141              if (linbuf[k-1] == '\n')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines