| # | Line 81 | Line 81 | getcone( /* get cone structure */ | |
|---|---|---|
| 81 | if (sgn0+sgn1 == 0) | |
| 82 | goto raderr; | |
| 83 | if ((sgn0 < 0) | (sgn1 < 0)) { | |
| 84 | < | objerror(o, o->otype==OBJ_RING?USER:WARNING, |
| 85 | < | "negative radii"); |
| 84 | > | if (o->otype == OBJ_RING) |
| 85 | > | goto raderr; |
| 86 | > | objerror(o, WARNING, "negative radii"); |
| 87 | o->otype = o->otype == OBJ_CONE ? | |
| 88 | OBJ_CUP : OBJ_CONE; | |
| 89 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |