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.4 by greg, Thu Mar 26 13:03:34 1992 UTC vs.
Revision 2.5 by greg, Tue Apr 28 09:40:39 1992 UTC

# Line 243 | Line 243 | userr:
243   headline(s)                             /* process header string */
244   char    *s;
245   {
246        static char     *altname[] = {VIEWSTR,"rpict","rview","pinterp",NULL};
247        register char   **an;
246          char    fmt[32];
247  
248          if (isformat(s)) {
# Line 259 | Line 257 | char   *s;
257                  theirexp *= exposval(s);
258                  return;
259          }
260 <        for (an = altname; *an != NULL; an++)
261 <                if (!strncmp(*an, s, strlen(*an))) {
264 <                        if (sscanview(&theirview, s+strlen(*an)) > 0)
265 <                                gotview++;
266 <                        break;
267 <                }
260 >        if (isview(s) && sscanview(&theirview, s) > 0)
261 >                gotview++;
262   }
263  
264  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines