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

Comparing ray/src/px/pfilt.c (file contents):
Revision 2.11 by greg, Tue Sep 21 10:55:54 1993 UTC vs.
Revision 2.14 by greg, Wed May 31 08:50:27 1995 UTC

# Line 219 | Line 219 | char  **argv;
219                          fprintf(stderr, "%s: unknown lamp type\n", lamptype);
220                          quit(1);
221                  }
222 <                for (i = 0; i < 3; i++)
223 <                        if (lampcolor[i] > 1e-4)
224 <                                colval(exposure,i) /= lampcolor[i];
222 >                for (j = 0; j < 3; j++)
223 >                        if (lampcolor[j] > 1e-4)
224 >                                colval(exposure,j) /= lampcolor[j];
225                  freelamps();
226          }
227                                          /* open input file */
# Line 383 | Line 383 | FILE  *in;
383                                  if (freadscan(scanin[yread%barsize],
384                                                  xres, in) < 0) {
385                                          fprintf(stderr,
386 <                                                "%s: bad read (y=%d)\n",
386 >                                                "%s: truncated input (y=%d)\n",
387                                                  progname, yres-1-yread);
388                                          quit(1);
389                                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines