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

Comparing ray/src/px/ra_ppm.c (file contents):
Revision 2.5 by greg, Mon Jul 12 12:41:15 1993 UTC vs.
Revision 2.6 by greg, Thu Nov 18 09:55:12 1993 UTC

# Line 80 | Line 80 | char  *argv[];
80                  exit(1);
81          }
82          if (i == argc-2 && freopen(argv[i+1], "w", stdout) == NULL) {
83 <                fprintf(stderr, "can't open output \"%s\"\n",
83 >                fprintf(stderr, "%s: can't open output \"%s\"\n",
84                                  progname, argv[i+1]);
85                  exit(1);
86          }
# Line 160 | Line 160 | ppm2ra(getscan)                /* convert color Pixmap to Radiance p
160   int  (*getscan)();
161   {
162          COLR    *scanout;
163        register int    x;
163          int     y;
164                                                  /* allocate scanline */
165          scanout = (COLR *)malloc(xmax*sizeof(COLR));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines