Avoid hard-coding the number of extra layers in use (for 2x silkscreen)for_master/avoid-hard-coding-the-number
commit50e6c23d2cd2945e88dd7ad20cab38125c207234
authorPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 9 Jan 2016 17:30:12 +0000 (9 17:30 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 9 Jan 2016 17:30:12 +0000 (9 17:30 +0000)
treef6e704cd316247283b9551a25a30ad6bb7374066
parent0a3c605b8a9671cb34473f34f01b8b724b99029c
Avoid hard-coding the number of extra layers in use (for 2x silkscreen)

We will shorty add support for soldermask layers, so this will need changing

NOTE....... IF THE parse_y.y patch in the stg series before this gets
dropped, there is one more case where + 2 needs to be replaced with EXTRA_LAYERS
25 files changed:
src/buffer.c
src/const.h
src/copy.c
src/crosshair.c
src/file.c
src/global.h
src/hid/common/extents.c
src/hid/common/flags.c
src/hid/gcode/gcode.c
src/hid/gerber/gerber.c
src/hid/gtk/gtkhid-gdk.c
src/hid/gtk/gtkhid-gl.c
src/hid/hidint.h
src/hid/lesstif/main.c
src/hid/lesstif/menu.c
src/hid/nelma/nelma.c
src/hid/png/png.c
src/hid/ps/eps.c
src/hid/ps/ps.c
src/macro.h
src/misc.c
src/move.c
src/mymem.c
src/parse_y.y
src/select.c