# | Line 125 | Line 125 | oldreadcolrs( /* read in an old-style colr scanline | |
---|---|---|
125 | FILE *fp | |
126 | ) | |
127 | { | |
128 | < | int rshift = -1; |
128 | > | int rshift = 0; |
129 | int i; | |
130 | ||
131 | while (len > 0) { | |
# | Line 137 | Line 137 | oldreadcolrs( /* read in an old-style colr scanline | |
137 | return(-1); | |
138 | if (scanline[0][GRN] == 1 && | |
139 | (scanline[0][RED] == 1) & | |
140 | < | (scanline[0][BLU] == 1) && |
141 | < | rshift >= 0) { |
140 | > | (scanline[0][BLU] == 1)) { |
141 | i = scanline[0][EXP] << rshift; | |
142 | while (i--) { | |
143 | copycolr(scanline[0], scanline[-1]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |