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

Comparing ray/src/px/ximage.c (file contents):
Revision 1.25 by greg, Sat Oct 13 21:31:45 1990 UTC vs.
Revision 1.26 by greg, Wed Oct 17 15:15:52 1990 UTC

# Line 287 | Line 287 | getras()                               /* get raster file */
287          }
288          return;
289   memerr:
290 <        quit("out of memory");
290 >        quiterr("out of memory");
291   }
292  
293  
# Line 548 | Line 548 | getmono()                      /* get monochrome data */
548  
549          if ((inl = (rgbpixel *)malloc(xmax*sizeof(rgbpixel))) == NULL
550                          || (cerr = (short *)calloc(xmax,sizeof(short))) == NULL)
551 <                quit("out of memory in getmono");
551 >                quiterr("out of memory in getmono");
552          dp = ourras->data.m - 1;
553          for (y = 0; y < ymax; y++) {
554                  picreadline3(y, inl);
# Line 635 | Line 635 | int  y;
635                  if (scanpos == NULL || scanpos[y] == -1)
636                          return(-1);
637                  if (fseek(fin, scanpos[y], 0) == -1)
638 <                        quit("fseek error");
638 >                        quiterr("fseek error");
639                  cury = y;
640          } else if (scanpos != NULL)
641                  scanpos[y] = ftell(fin);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines