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.36 by greg, Tue Dec 14 20:43:42 1993 UTC vs.
Revision 2.37 by greg, Fri Jun 10 12:51:21 1994 UTC

# Line 113 | Line 113 | char  *progname;
113  
114   char  errmsg[128];
115  
116 < extern BYTE  clrtab[256][3];            /* global color map */
116 > BYTE  clrtab[256][3];                   /* global color map */
117  
118   extern long  ftell();
119  
# Line 999 | Line 999 | getmapped()                    /* get color-mapped data */
999                                          /* set gamma correction */
1000          setcolrgam(gamcor);
1001                                          /* make histogram */
1002 <        new_histo();
1002 >        if (new_histo((long)xmax*ymax) == -1)
1003 >                quiterr("cannot initialize histogram");
1004          for (y = 0; y < ymax; y++) {
1005                  if (getscan(y) < 0)
1006                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines