| # | Line 77 | Line 77 | sum_images(const char *fspec, const CMATRIX *cv, FILE | |
|---|---|---|
| 77 | } | |
| 78 | /* flat file check */ | |
| 79 | if ((data_start = ftell(fp)) > 0 && fseek(fp, 0L, SEEK_END) == 0) { | |
| 80 | < | flat_file = (ftell(fp) == data_start + sizeof(COLR)*xr*yr); |
| 80 | > | flat_file = (ftell(fp) >= data_start + sizeof(COLR)*xr*yr); |
| 81 | if (fseek(fp, data_start, SEEK_SET) < 0) { | |
| 82 | sprintf(errmsg, "cannot seek on picture '%s'", fname); | |
| 83 | error(SYSTEM, errmsg); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |