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

Comparing ray/src/common/lamps.c (file contents):
Revision 1.2 by greg, Fri Dec 14 12:29:41 1990 UTC vs.
Revision 1.3 by greg, Fri Dec 14 13:12:28 1990 UTC

# Line 114 | Line 114 | char   *file;
114                  lastp = lp;
115          }
116          fclose(fp);
117 <        return(1);
117 >        return(lastp != NULL);
118   memerr:
119          fputs("Out of memory in loadlamps\n", stderr);
120          return(-1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines