# | Line 74 | Line 74 | char *fname; | |
---|---|---|
74 | fprintf(stderr, "%s: read error (y=%d)\n", fname, i); | |
75 | return(-1); | |
76 | } | |
77 | < | normscan(scanline, xres); |
77 | > | normcolrs(scanline, xres); |
78 | plotscan(scanline, xres, i); | |
79 | } | |
80 | /* advance page */ | |
# | Line 83 | Line 83 | char *fname; | |
83 | fclose(input); | |
84 | ||
85 | return(0); | |
86 | – | } |
87 | – | |
88 | – | |
89 | – | normscan(scan, len) /* normalize a scanline */ |
90 | – | register COLR scan[]; |
91 | – | int len; |
92 | – | { |
93 | – | register int i; |
94 | – | |
95 | – | for (i = 0; i < len; i++) |
96 | – | colr_norm(scan[i], scan[i]); |
86 | } | |
87 | ||
88 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |