gEDA-dev: [pcb] an unnecessary lines in ps hid

DJ Delorie dj at delorie.com
Sun Oct 8 10:11:00 EDT 2006


> In src/hid/ps/ps.c, is the hid_expose_callbacks in line 285 really needed
> when the same call is done later, in line 291 anyway?

The first time it's called, we're generating the table of contents.
We don't actually *draw* any of the layers, we just want the core to
tell us which ones would be requested.

The second time through, we're drawing pages 2 through N.


More information about the geda-dev mailing list