FreeCalypso > hg > ueda-linux
changeset 60:0444db01fa4a
pads2gpcb: recognize drawing on levels 0 and 1 in decals as silk
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 31 Jan 2016 03:29:33 +0000 |
parents | aeef205f7580 |
children | ff1d565d233c |
files | pads2gpcb/decals.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pads2gpcb/decals.c Sun Jan 31 03:26:35 2016 +0000 +++ b/pads2gpcb/decals.c Sun Jan 31 03:29:33 2016 +0000 @@ -69,7 +69,8 @@ return(0); if (input_line_nfields != 5) return(0); - if (strcmp(input_line_fields[4], "0")) + if (strcmp(input_line_fields[4], "0") && + strcmp(input_line_fields[4], "1")) return(0); ncoord = atoi(input_line_fields[1]); if (ncoord < 2) { @@ -126,7 +127,8 @@ return(0); if (input_line_nfields != 5) return(0); - if (strcmp(input_line_fields[4], "0")) + if (strcmp(input_line_fields[4], "0") && + strcmp(input_line_fields[4], "1")) return(0); if (strcmp(input_line_fields[1], "2")) { printf("line %d: silk CIRCLE piece ncoord != 2\n",