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

Comparing ray/src/util/radcompare.c (file contents):
Revision 2.22 by greg, Sat Aug 24 02:22:02 2019 UTC vs.
Revision 2.23 by greg, Tue Jun 30 01:17:54 2020 UTC

# Line 696 | Line 696 | set_refdepth(DEPTHCODEC *dcp, LUTAB *htp)
696          static char     depthvar[] = DEPTHSTR;
697          const char      *drval;
698  
699 <        depthvar[LDEPTHSTR] = '\0';
699 >        depthvar[LDEPTHSTR-1] = '\0';
700          drval = (const char *)lu_find(htp, depthvar)->data;
701          if (!drval)
702                  return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines