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

Comparing ray/src/common/readoct.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:34:40 1989 UTC vs.
Revision 1.2 by greg, Tue Feb 21 14:59:06 1989 UTC

# Line 193 | Line 193 | getobj()                               /* get next object */
193          register int  i;
194          register OBJREC  *objp;
195  
196 <        i = (char)getint(1);            /* sign extend */
197 <        if (i < 0)
196 >        i = getint(1);
197 >        if (i & 0x80)
198                  return(OVOID);          /* terminator */
199          if ((obj = newobject()) == OVOID)
200                  error(SYSTEM, "out of object space");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines