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

Comparing ray/src/px/ra_ps.c (file contents):
Revision 2.21 by gwlarson, Fri Aug 28 10:03:46 1998 UTC vs.
Revision 2.23 by gwlarson, Mon Jul 19 09:53:06 1999 UTC

# Line 65 | Line 65 | extern char  *malloc();
65   extern double   unit2inch();
66  
67  
68 + int
69   headline(s)             /* check header line */
70   char  *s;
71   {
# Line 75 | Line 76 | char  *s;
76                  wrongformat = strcmp(fmt, COLRFMT);
77          } else if (isaspect(s))
78                  pixaspect *= aspectval(s);
79 +        return(0);
80   }
81  
82  
# Line 191 | Line 193 | double
193   unit2inch(s)            /* determine unit */
194   register char   *s;
195   {
196 <        static struct unit {char n; float f} u[] = {
196 >        static struct unit {char n; float f;} u[] = {
197                  'i', 1.,
198                  'm', 1./25.4,
199                  'c', 1./2.54,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines