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

Comparing ray/src/hd/rhdisp.c (file contents):
Revision 3.39 by gwlarson, Sun Jan 3 17:49:11 1999 UTC vs.
Revision 3.40 by gwlarson, Thu Mar 4 10:14:52 1999 UTC

# Line 155 | Line 155 | disp_wait()                    /* wait for more input */
155          int     n;
156          register int    i;
157                                  /* see if we can avoid select call */
158 +        if (hdlist[0] == NULL)
159 +                return(RDY_SRV);        /* initialize first */
160          flgs = 0;               /* flag what's ready already */
161          if (imm_mode || stdin->_cnt > 0)
162                  flgs |= RDY_SRV;
# Line 269 | Line 271 | register VIEW  *v;
271          static VIEW     viewhist[VIEWHISTLEN];
272          static unsigned nhist;
273          VIEW    *dv;
274 <        int     i, res[2], *slist;
274 >        int     i, res[2];
275 >        int2    *slist;
276          char    *err;
277                                  /* restore previous view? */
278          if (v == NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines