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

Comparing ray/src/hd/rhd_x11.c (file contents):
Revision 3.34 by schorsch, Mon Jul 21 22:30:18 2003 UTC vs.
Revision 3.36 by greg, Fri Sep 19 18:33:05 2003 UTC

# Line 595 | Line 595 | XButtonPressedEvent    *ebut;
595          XMaskEvent(ourdisplay, ButtonReleaseMask, levptr(XEvent));
596          endx = levptr(XButtonReleasedEvent)->x;
597          endy = levptr(XButtonReleasedEvent)->y;
598 <        if (endx == startx | endy == starty) {
598 >        if ((endx == startx) | (endy == starty)) {
599                  XBell(ourdisplay, 0);
600                  return;
601          }
# Line 613 | Line 613 | waitabit()                             /* pause a moment */
613   {
614          struct timespec ts;
615          ts.tv_sec = 0;
616 <        ts.tv_nsec = 50000000;
616 >        ts.tv_nsec = 100000000;
617          nanosleep(&ts, NULL);
618   }
619  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines