Index: trunk/src_plugins/io_tedax/footprint.c =================================================================== --- trunk/src_plugins/io_tedax/footprint.c (revision 33037) +++ trunk/src_plugins/io_tedax/footprint.c (revision 33038) @@ -496,7 +496,7 @@ term = term_new(argv[2], argv[4]); htip_set(&terms, termid, term); } - else if ((argc > 12) && (strcmp(argv[0], "polygon") == 0)) { + else if ((argc >= 12) && (strcmp(argv[0], "polygon") == 0)) { pcb_poly_t *p; ly = subc_get_layer(subc, argv[1], argv[2]); if (ly == NULL) {