| # | Line 207 | Line 207 | read_input(void) /* read glare sources from stdin */ | |
|---|---|---|
| 207 | goto memerr; | |
| 208 | if (sscanf(buf, FVFORMAT, &gs->dir[0], &gs->dir[1], | |
| 209 | &gs->dir[2]) != 3 || | |
| 210 | < | sscanf(buf, "%lf %lf", |
| 210 | > | sscanf(sskip2(buf, 3), "%lf %lf", |
| 211 | &gs->dom, &gs->lum) != 2) | |
| 212 | goto readerr; | |
| 213 | normalize(gs->dir); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |