| # | Line 351 | Line 351 | main(int argc, char *argv[]) | |
|---|---|---|
| 351 | if (outform != 'a') | |
| 352 | SET_FILE_BINARY(stdout); | |
| 353 | if (doheader) { /* print header? */ | |
| 354 | < | static char fmt[] = OCTFMT; |
| 355 | < | FILE * octfp = fopen(argv[i], "rb"); |
| 356 | < | if (checkheader(octfp, fmt, stdout) < 0) |
| 357 | < | error(USER, "bad octree header"); |
| 358 | < | fclose(octfp); |
| 354 | > | newheader("RADIANCE", stdout); |
| 355 | > | fputs(myRTmanager.GetHeader(), stdout); |
| 356 | printargs(i, argv, stdout); | |
| 357 | printf("SOFTWARE= %s\n", VersionID); | |
| 358 | fputnow(stdout); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |