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))) { |
182 |
|
gotview++; |
183 |
|
return; |
184 |
|
} |
185 |
– |
} |
186 |
– |
|
187 |
– |
|
188 |
– |
char * |
189 |
– |
sskip(s) /* skip a word */ |
190 |
– |
register char *s; |
191 |
– |
{ |
192 |
– |
while (isspace(*s)) s++; |
193 |
– |
while (*s && !isspace(*s)) s++; |
194 |
– |
return(s); |
185 |
|
} |
186 |
|
|
187 |
|
|