# | Line 401 | Line 401 | material() /* get (and print) current material */ | |
---|---|---|
401 | double d; | |
402 | register int i; | |
403 | ||
404 | < | if (c_cmaterial->name != NULL) |
405 | < | mname = c_cmaterial->name; |
404 | > | if (c_cmname != NULL) |
405 | > | mname = c_cmname; |
406 | if (!c_cmaterial->clock) | |
407 | return(mname); /* already current */ | |
408 | /* else update output */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |