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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.12 by greg, Mon Apr 12 09:58:09 1993 UTC vs.
Revision 2.13 by greg, Sun Feb 27 10:16:57 1994 UTC

# 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          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines