--- ray/src/util/xglaresrc.c 1991/03/19 14:12:11 1.1 +++ ray/src/util/xglaresrc.c 1991/03/20 12:59:27 1.3 @@ -85,7 +85,7 @@ char *name; GrabModeAsync, GrabModeAsync, None, pickcursor, CurrentTime) != GrabSuccess) sleep(2); - printf("%s: pick point in \"%s\" display window\n", progname, name); + printf("%s: click mouse in \"%s\" display window\n", progname, name); XNextEvent(theDisplay, &xev); XUngrabPointer(theDisplay, CurrentTime); if (((XButtonEvent *)&xev)->subwindow == None) { @@ -165,7 +165,7 @@ double dom; if (pz <= 0.0) goto fail; pt[i].x = px*xres; - pt[i].y = py*yres; + pt[i].y = yres-1 - (int)(py*yres); } XDrawLines(theDisplay, gwind, vecGC, pt, NSEG+1, CoordModeOrigin); return;