| # | Line 939 | Line 939 | int y; | |
|---|---|---|
| 939 | if (fseek(fin, scanpos[y], 0) == -1) | |
| 940 | quiterr("fseek error"); | |
| 941 | cury = y; | |
| 942 | < | } else if (scanpos != NULL) |
| 942 | > | } else if (scanpos != NULL && scanpos[y] == -1) |
| 943 | scanpos[y] = ftell(fin); | |
| 944 | ||
| 945 | if (freadcolrs(scanline, xmax, fin) < 0) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |