243 |
|
headline(s) /* process header string */ |
244 |
|
char *s; |
245 |
|
{ |
246 |
– |
static char *altname[] = {VIEWSTR,"rpict","rview","pinterp",NULL}; |
247 |
– |
register char **an; |
246 |
|
char fmt[32]; |
247 |
|
|
248 |
|
if (isformat(s)) { |
257 |
|
theirexp *= exposval(s); |
258 |
|
return; |
259 |
|
} |
260 |
< |
for (an = altname; *an != NULL; an++) |
261 |
< |
if (!strncmp(*an, s, strlen(*an))) { |
264 |
< |
if (sscanview(&theirview, s+strlen(*an)) > 0) |
265 |
< |
gotview++; |
266 |
< |
break; |
267 |
< |
} |
260 |
> |
if (isview(s) && sscanview(&theirview, s) > 0) |
261 |
> |
gotview++; |
262 |
|
} |
263 |
|
|
264 |
|
|