I've had a look, and highlightnetlist() has side effects -- it modifies the 
object
if mode = 0. I've split it out into two functions: one that draws, and another
that only has the side effect.

I declared highlightnet() to be without side effects (takes const object*
and const objinst* pointers) just to make it obvious that it doesn't change
anything.

Cheers, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to