49 |
|
register int i, j, beg, cnt = 1; |
50 |
|
int c2; |
51 |
|
|
52 |
< |
if (len < MINELEN | len > MAXELEN) /* OOBs, write out flat */ |
52 |
> |
if ((len < MINELEN) | (len > MAXELEN)) /* OOBs, write out flat */ |
53 |
|
return(fwrite((char *)scanline,sizeof(COLR),len,fp) - len); |
54 |
|
/* put magic header */ |
55 |
|
putc(2, fp); |
139 |
|
register int i, j; |
140 |
|
int code, val; |
141 |
|
/* determine scanline type */ |
142 |
< |
if (len < MINELEN | len > MAXELEN) |
142 |
> |
if ((len < MINELEN) | (len > MAXELEN)) |
143 |
|
return(oldreadcolrs(scanline, len, fp)); |
144 |
|
if ((i = getc(fp)) == EOF) |
145 |
|
return(-1); |