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.19 by greg, Sun Dec 10 12:12:55 1989 UTC vs.
Revision 1.20 by greg, Fri Jan 5 17:52:57 1990 UTC

# Line 173 | Line 173 | char  *s;
173          static char  *altname[] = {"rview","rpict",VIEWSTR,NULL};
174          register char  **an;
175  
176 <        if (!strncmp(s, "EXPOSURE=", 9))
177 <                exposure *= atof(s+9);
176 >        if (isexpos(s))
177 >                exposure *= exposval(s);
178          else
179                  for (an = altname; *an != NULL; an++)
180                          if (!strncmp(*an, s, strlen(*an))) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines