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

Comparing ray/src/common/header.c (file contents):
Revision 2.32 by greg, Thu Aug 2 18:33:42 2018 UTC vs.
Revision 2.33 by greg, Sat May 25 04:00:54 2019 UTC

# Line 241 | Line 241 | mycheck(                       /* check a header line for format info. */
241          void  *cp
242   )
243   {
244 <        if (!formatval(((struct check*)cp)->fs, s)
245 <                        && ((struct check*)cp)->fp != NULL) {
246 <                fputs(s, ((struct check*)cp)->fp);
247 <        }
244 >        struct check    *scp = (struct check *)cp;
245 >
246 >        if (!formatval(scp->fs, s) && scp->fp != NULL)
247 >                fputs(s, scp->fp);
248 >
249          return(0);
250   }
251  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines