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

Comparing ray/src/px/pcomb.c (file contents):
Revision 2.19 by greg, Thu Sep 5 10:38:53 1996 UTC vs.
Revision 2.21 by gwlarson, Tue Oct 27 09:08:25 1998 UTC

# Line 235 | Line 235 | char   *s;
235          COLOR   ctmp;
236  
237          if (isheadid(s))                        /* header id */
238 <                return;         /* don't echo */
238 >                return(0);      /* don't echo */
239          if (formatval(fmt, s)) {                /* check format */
240                  if (globmatch(ourfmt, fmt)) {
241                          wrongformat = 0;
242                          strcpy(ourfmt, fmt);
243                  } else
244                          wrongformat = 1;
245 <                return;         /* don't echo */
245 >                return(0);      /* don't echo */
246          }
247          if (isexpos(s)) {                       /* exposure */
248                  d = exposval(s);
# Line 256 | Line 256 | char   *s;
256                  gotview++;
257                                                  /* echo line */
258          putchar('\t');
259 <        fputs(s, stdout);
259 >        return(fputs(s, stdout));
260   }
261  
262  
# Line 534 | Line 534 | register char  *nam;
534          if (ltick[fn] < eclock) {               /* need to compute? */
535                  lorg[fn][0] = lorg[fn][1] = lorg[fn][2] = 0.0;
536                  ldir[fn][0] = ldir[fn][1] = ldir[fn][2] = 0.0;
537 +                ldist[fn] = -1.0;
538                  if (input[fn].vw.type == 0)
539                          errno = EDOM;
540                  else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines