| # | Line 197 | Line 197 | char *argv[]; | |
|---|---|---|
| 197 | if (ourpict == NULL || ourzbuf == NULL) | |
| 198 | syserror(progname); | |
| 199 | bzero((char *)ourzbuf, hresolu*vresolu*sizeof(float)); | |
| 200 | + | /* new header */ |
| 201 | + | newheader("RADIANCE", stdout); |
| 202 | /* get input */ | |
| 203 | for ( ; i < argc; i += 2) | |
| 204 | addpicture(argv[i], argv[i+1]); | |
| # | Line 241 | Line 243 | char *s; | |
| 243 | { | |
| 244 | char fmt[32]; | |
| 245 | ||
| 246 | < | if (isformat(s)) { |
| 247 | < | formatval(fmt, s); |
| 246 | > | if (isheadid(s)) |
| 247 | > | return; |
| 248 | > | if (formatval(fmt, s)) { |
| 249 | wrongformat = strcmp(fmt, COLRFMT); | |
| 250 | return; | |
| 251 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |