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 1.8 by greg, Sat Oct 13 21:31:48 1990 UTC vs.
Revision 1.9 by greg, Wed Oct 17 14:56:18 1990 UTC

# Line 336 | Line 336 | getras()                               /* get raster file */
336          }
337          return;
338   fail:
339 <        quit("could not create raster image");
339 >        quiterr("could not create raster image");
340   }
341  
342  
# Line 609 | Line 609 | getmono()                      /* get monochrome data */
609  
610          if ((inl = (rgbpixel *)malloc(xmax*sizeof(rgbpixel))) == NULL
611                          || (cerr = (short *)calloc(xmax,sizeof(short))) == NULL)
612 <                quit("out of memory in getmono");
612 >                quiterr("out of memory in getmono");
613          dp = ourdata - 1;
614          for (y = 0; y < ymax; y++) {
615                  picreadline3(y, inl);
# Line 674 | Line 674 | int  y;
674                  if (scanpos == NULL || scanpos[y] == -1)
675                          return(-1);
676                  if (fseek(fin, scanpos[y], 0) == -1)
677 <                        quit("fseek error");
677 >                        quiterr("fseek error");
678                  cury = y;
679          } else if (scanpos != NULL)
680                  scanpos[y] = ftell(fin);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines