| # | Line 106 | Line 106 | char *argv[]; | |
|---|---|---|
| 106 | } | |
| 107 | break; | |
| 108 | } | |
| 109 | + | newheader("RADIANCE", stdout); /* start header */ |
| 110 | /* process files */ | |
| 111 | for (nfiles = 0; nfiles < MAXINP; nfiles++) { | |
| 112 | setcolor(input[nfiles].coef, 1.0, 1.0, 1.0); | |
| # | Line 224 | Line 225 | char *s; | |
| 225 | double d; | |
| 226 | COLOR ctmp; | |
| 227 | ||
| 228 | < | if (isformat(s)) { /* check format */ |
| 229 | < | formatval(fmt, s); |
| 228 | > | if (isheadid(s)) /* header id */ |
| 229 | > | return; /* don't echo */ |
| 230 | > | if (formatval(fmt, s)) { /* check format */ |
| 231 | wrongformat = strcmp(fmt, COLRFMT); | |
| 232 | return; /* don't echo */ | |
| 233 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |