ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pcompos.c
(Generate patch)

Comparing ray/src/px/pcompos.c (file contents):
Revision 2.17 by greg, Wed Dec 29 09:48:12 1993 UTC vs.
Revision 2.18 by greg, Sun Feb 27 10:17:04 1994 UTC

# Line 70 | Line 70 | char  *s;
70   {
71          char  fmt[32];
72  
73 <        if (isformat(s)) {
74 <                formatval(fmt, s);
73 >        if (isheadid(s))
74 >                return;
75 >        if (formatval(fmt, s))
76                  wrongformat = strcmp(fmt, COLRFMT);
77 <        } else {
77 >        else {
78                  putc('\t', stdout);
79                  fputs(s, stdout);
80          }
# Line 143 | Line 144 | char  *argv[];
144                          goto userr;
145                  }
146   dofiles:
147 +        newheader("RADIANCE", stdout);
148          for (nfile = 0; an < argc; nfile++) {
149                  if (nfile >= MAXFILE)
150                          goto toomany;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines