[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: skpi_drc patch



> +      l->no_drc = lookup_attr (&(l->Attributes), "PCB::skip-drc") != NULL;

You want the (already global) AttributeGet() function.

  l->no_drc = AttributeGet (l, "PCB::skip-drc") != NULL;

This does assume that the attribute has *some* value, even if the
value is the empty string.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user