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

Comparing ray/src/px/x11image.c (file contents):
Revision 2.10 by greg, Wed Jun 24 09:17:39 1992 UTC vs.
Revision 2.12 by greg, Tue Sep 15 12:15:48 1992 UTC

# Line 631 | Line 631 | XKeyPressedEvent  *ekey;
631                  XClearWindow(thedisplay, wind);
632                  map_rcolors(ourras, wind);
633                  if (fast)
634 <                        make_rpixmap(ourras);
634 >                        make_rpixmap(ourras, wind);
635                  redraw(0, 0, width, height);
636                  return(0);
637          case ' ':                               /* clear */
# Line 939 | Line 939 | int  y;
939                  if (fseek(fin, scanpos[y], 0) == -1)
940                          quiterr("fseek error");
941                  cury = y;
942 <        } else if (scanpos != NULL)
942 >        } else if (scanpos != NULL && scanpos[y] == -1)
943                  scanpos[y] = ftell(fin);
944  
945          if (freadcolrs(scanline, xmax, fin) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines