# | Line 67 | Line 67 | char *fname; | |
---|---|---|
67 | for (i = yres-1; i >= 0; i--) { | |
68 | if (freadcolrs(scanline, xres, input) < 0) | |
69 | return(-1); | |
70 | < | normscan(scanline, xres); |
70 | > | normcolrs(scanline, xres, 0); |
71 | plotscan(scanline, xres, i); | |
72 | } | |
73 | ||
# | Line 76 | Line 76 | char *fname; | |
76 | fclose(input); | |
77 | ||
78 | return(0); | |
79 | – | } |
80 | – | |
81 | – | |
82 | – | normscan(scan, len) /* normalize a scanline */ |
83 | – | register COLR scan[]; |
84 | – | int len; |
85 | – | { |
86 | – | register int i; |
87 | – | |
88 | – | for (i = 0; i < len; i++) |
89 | – | colr_norm(scan[i], scan[i]); |
79 | } | |
80 | ||
81 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |