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.6 by greg, Thu May 11 08:25:21 1989 UTC vs.
Revision 1.7 by greg, Tue May 23 10:46:32 1989 UTC

# Line 345 | Line 345 | redraw(x, y, w, h)                     /* redraw section of window */
345   int  x, y;
346   int  w, h;
347   {
348 <        if (map_rcolors(ourras) == NULL) {
348 >        if (ourras->ncolors && map_rcolors(ourras) == NULL) {
349                  fprintf(stderr, "%s: cannot allocate colors\n", progname);
350                  return(-1);
351          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines