~geda-admins/pcb/pcb-main

Viewing all changes in revision 3852.

  • Committer: Charles Parker
  • Date: 2018-12-16 22:57:25 UTC
  • Revision ID: git-v1:0a81b0a917bb216e044a6eadc114ba96143a828e
[search] Use bit logic instead of equality to choose search types.

Presently "SearchObjectByID" takes a type as a parameter. Why? Anyway
This commit changes (type == SOME_TYPE) to (type && SOME_TYPE) so that a
search can be performed to look for multiple types of objects instead of
just one.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: