| # | Line 160 | Line 160 | pix2rays( | |
|---|---|---|
| 160 | register int i; | |
| 161 | ||
| 162 | while (fscanf(fp, "%lf %lf", &px, &py) == 2) { | |
| 163 | + | px += .5; py += .5; |
| 164 | if (px < 0 || px >= rs.xr || | |
| 165 | py < 0 || py >= rs.yr) { | |
| 166 | fprintf(stderr, | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |