280 |
|
return; |
281 |
|
dumbamb: /* return global value */ |
282 |
|
copycolor(acol, ambval); |
283 |
< |
if (ambvwt <= 0 | navsum == 0) |
283 |
> |
if ((ambvwt <= 0) | (navsum == 0)) |
284 |
|
return; |
285 |
|
l = bright(ambval); /* average in computations */ |
286 |
|
if (l > FTINY) { |
831 |
|
/* see if file has grown */ |
832 |
|
if ((flen = lseek(fileno(ambfp), (off_t)0L, 2)) < 0) |
833 |
|
goto seekerr; |
834 |
< |
if (n = flen - lastpos) { /* file has grown */ |
834 |
> |
if ( (n = flen - lastpos) ) { /* file has grown */ |
835 |
|
if (ambinp == NULL) { /* use duplicate filedes */ |
836 |
|
ambinp = fdopen(dup(fileno(ambfp)), "r"); |
837 |
|
if (ambinp == NULL) |