| 199 |
|
{ |
| 200 |
|
int p; |
| 201 |
|
|
| 202 |
< |
if (!real_check(colval(c1,RED)+colval(c1,GRN)+colval(c1,BLU)*(1./3.), |
| 203 |
< |
colval(c2,RED)+colval(c2,GRN)+colval(c2,BLU))*(1./3.)) |
| 202 |
> |
if (!real_check((colval(c1,RED)+colval(c1,GRN)+colval(c1,BLU))*(1./3.), |
| 203 |
> |
(colval(c2,RED)+colval(c2,GRN)+colval(c2,BLU))*(1./3.))) |
| 204 |
|
return(0); |
| 205 |
|
|
| 206 |
|
p = (colval(c1,GRN) > colval(c1,RED)) ? GRN : RED; |
| 777 |
|
ign_header |= !has_header(typ1); /* check headers if indicated */ |
| 778 |
|
if (!ign_header && !headers_match()) |
| 779 |
|
return(1); |
| 780 |
< |
lu_done(&hdr1); lu_done(&hdr2); |
| 780 |
> |
lu_done(&hdr1); lu_done(&hdr2); /* done with header info. */ |
| 781 |
|
if (!ign_header & (report >= REP_WARN)) { |
| 782 |
– |
if (typ1 == TYP_UNKNOWN) |
| 783 |
– |
printf("%s: warning - unrecognized format, comparing as binary\n", |
| 784 |
– |
progname); |
| 782 |
|
if (lin1cnt != lin2cnt) |
| 783 |
|
printf("%s: warning - headers are different lengths\n", |
| 784 |
+ |
progname); |
| 785 |
+ |
if (typ1 == TYP_UNKNOWN) |
| 786 |
+ |
printf("%s: warning - unrecognized format\n", |
| 787 |
|
progname); |
| 788 |
|
} |
| 789 |
|
if (report >= REP_VERBOSE) |