| # | Line 644 | Line 644 | int y; | |
|---|---|---|
| 644 | if (fseek(fin, scanpos[y], 0) == -1) | |
| 645 | quiterr("fseek error"); | |
| 646 | cury = y; | |
| 647 | < | } else if (scanpos != NULL) |
| 647 | > | } else if (scanpos != NULL && scanpos[y] == -1) |
| 648 | scanpos[y] = ftell(fin); | |
| 649 | ||
| 650 | if (freadcolrs(scanline, xmax, fin) < 0) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |