| # | Line 92 | Line 92 | char **argv; | |
|---|---|---|
| 92 | long fpos; | |
| 93 | double outaspect = 0.0; | |
| 94 | double d; | |
| 95 | < | int i; |
| 95 | > | int i, j; |
| 96 | #ifdef MSDOS | |
| 97 | extern int _fmode; | |
| 98 | _fmode = O_BINARY; | |
| # | Line 219 | Line 219 | char **argv; | |
| 219 | fprintf(stderr, "%s: unknown lamp type\n", lamptype); | |
| 220 | quit(1); | |
| 221 | } | |
| 222 | < | for (i = 0; i < 3; i++) |
| 223 | < | if (lampcolor[i] > 1e-4) |
| 224 | < | colval(exposure,i) /= lampcolor[i]; |
| 222 | > | for (j = 0; j < 3; j++) |
| 223 | > | if (lampcolor[j] > 1e-4) |
| 224 | > | colval(exposure,j) /= lampcolor[j]; |
| 225 | freelamps(); | |
| 226 | } | |
| 227 | /* open input file */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |