# | 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)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |