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

Comparing ray/src/px/vgaimage.c (file contents):
Revision 2.7 by greg, Fri Jun 11 16:58:35 1993 UTC vs.
Revision 2.10 by greg, Sat Feb 22 02:07:28 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1993 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   *  vgaimage.c - driver for VGA board under DOS
6   */
# Line 86 | Line 83 | char  *argv[];
83          int  i;
84  
85          progname = argv[0] = fixargv0(argv[0]);
86 <        if ((gv = getenv("GAMMA")) != NULL)
86 >        if ((gv = getenv("DISPLAY_GAMMA")) != NULL)
87                  gamcor = atof(gv);
88  
89          for (i = 1; i < argc; i++)
# Line 147 | Line 144 | userr:
144   }
145  
146  
147 + int
148   headline(s)             /* get relevant info from header */
149   char  *s;
150   {
# Line 158 | Line 156 | char  *s;
156                  formatval(fmt, s);
157                  wrongformat = strcmp(fmt, COLRFMT);
158          }
159 +        return(0);
160   }
161  
162  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines