| 1 |
< |
/* Copyright (c) 1991 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1995 Regents of the University of California */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
| 263 |
|
case 'm': /* material name */ |
| 264 |
|
if (*++cp != '=') |
| 265 |
|
break; |
| 266 |
< |
if (!*++cp) |
| 266 |
> |
if (!*++cp || isspace(*cp)) |
| 267 |
|
break; |
| 268 |
|
atos(thisillum.matname, MAXSTR, cp); |
| 269 |
|
cp = sskip(cp); |
| 275 |
|
case 'f': /* data file name */ |
| 276 |
|
if (*++cp != '=') |
| 277 |
|
break; |
| 278 |
< |
if (!*++cp) { |
| 278 |
> |
if (!*++cp || isspace(*cp)) { |
| 279 |
|
strcpy(thisillum.datafile,thisillum.matname); |
| 280 |
|
thisillum.dfnum = 0; |
| 281 |
|
thisillum.flags &= ~IL_DATCLB; |
| 361 |
|
case 'o': /* output file */ |
| 362 |
|
if (*++cp != '=') |
| 363 |
|
break; |
| 364 |
< |
if (!*++cp) |
| 364 |
> |
if (!*++cp || isspace(*cp)) |
| 365 |
|
break; |
| 366 |
|
atos(buf, sizeof(buf), cp); |
| 367 |
|
cp = sskip(cp); |