(void)ds;
if (!p) return;
- if ((p->kind == LIST) && p->u.lp)
+ if (p->kind == LIST && p->u.lp)
dtclose (p->u.lp);
else
free (p->u.value);
else if (ap->sort == OUTLINE) {
agsafeset (np, "pencolor", ap->u.value, "");
}
- else if ((ap->sort == WIDTH) || (ap->sort == OUTLINEWIDTH )) {
+ else if (ap->sort == WIDTH || ap->sort == OUTLINEWIDTH) {
agsafeset (np, "penwidth", ap->u.value, "");
}
- else if ((ap->sort == STYLE) || (ap->sort == OUTLINESTYLE )) {
+ else if (ap->sort == STYLE || ap->sort == OUTLINESTYLE) {
agsafeset (np, "style", ap->u.value, "");
}
else {
else
unknown (obj, ap, xb);
}
- else if ((ap->sort == LABEL) && (AGTYPE(obj) != AGRAPH)) {
+ else if (ap->sort == LABEL && AGTYPE(obj) != AGRAPH) {
agsafeset (obj, "name", ap->u.value, "");
}
else