| # | Line 486 | Line 486 | register char *nam; | |
|---|---|---|
| 486 | if (input[fn].vw.type == 0) | |
| 487 | errno = ERANGE; | |
| 488 | else { | |
| 489 | < | pix2loc(loc, &input[fn].rs, xpos, ypos); |
| 489 | > | pix2loc(loc, &input[fn].rs, xscan, ymax-1-yscan); |
| 490 | if (viewray(lorg[fn], ldir[fn], | |
| 491 | &input[fn].vw, loc[0], loc[1]) < 0) | |
| 492 | errno = ERANGE; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |