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

Comparing ray/src/px/xshowtrace.c (file contents):
Revision 2.3 by greg, Fri Oct 30 09:54:19 1992 UTC vs.
Revision 2.4 by greg, Fri Dec 11 18:24:29 1992 UTC

# Line 189 | Line 189 | int    xoff, yoff;
189   setvec(ipt)                     /* set up vector drawing for pick */
190   int     ipt[2];
191   {
192 +        extern Window   xfindwind();
193          XWindowAttributes       wa;
194          XColor  xc;
195          XGCValues       gcv;
# Line 197 | Line 198 | int    ipt[2];
198          unsigned int    pm;
199                                          /* compute pointer location */
200          if (gwind == 0 &&
201 <                (gwind = xfindwind(theDisplay, rwind, picture, 2)) == 0) {
201 >                (gwind = xfindwind(theDisplay, rwind, picture, 4)) == 0) {
202                  fprintf(stderr, "%s: cannot find display window!\n", progname);
203                  exit(1);
204          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines