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

Comparing ray/src/px/t4027.c (file contents):
Revision 2.1 by greg, Tue Nov 12 16:05:19 1991 UTC vs.
Revision 2.3 by schorsch, Fri Jan 2 12:46:13 2004 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1986 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  t4027.c - program to dump pixel file to Tektronix 4027.
6   *
# Line 137 | Line 134 | int  col;
134                  { 0, 0x44, 0xb2, 0xff },
135                  { 0, 0x22, 0x2d, 0xff }
136          };
137 <        static short  isset[64];
137 >        /* isset is a common bitmap related macro in <sys/param.h> */
138 >        static short  cisset[64];
139          int  pat;
140          register int  r, g, b;
141          
142 <        if (isset[col]) {
142 >        if (cisset[col]) {
143                  printf("%cCOL P%d", COM, col);
144                  return;
145          }
# Line 187 | Line 185 | int  col;
185                  printf(" C0");          /* white */
186                  printpat(pat);
187          }
188 <        isset[col] = 1;
188 >        cisset[col] = 1;
189          printf("%cCOL P%d", COM, col);
190   }
191  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines