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.4 by greg, Tue Apr 18 11:07:12 1989 UTC vs.
Revision 1.5 by greg, Fri Apr 21 08:44:05 1989 UTC

# Line 419 | Line 419 | XKeyEvent  *ekey;
419                  if (avgbox(cval) == -1)
420                          return(-1);
421                  n = log(.5/bright(cval))/.69315 - scale;        /* truncate */
422 <                if (n == 0) {
423 <                        XFeep(0);
422 >                if (n == 0)
423                          return(0);
425                }
424                  scale_rcolors(ourras, pow(2.0, (double)n));
425                  scale += n;
426                  sprintf(buf, "%+d", scale);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines