changeset 66:68900e8dcda1

pads2gpcb/partinst.c: buglet fixed, swallows GTA02*.asc now
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 22:03:08 +0000
parents 2b71943a311b
children e14cd5433e83
files pads2gpcb/partinst.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pads2gpcb/partinst.c	Sun Jan 31 21:32:08 2016 +0000
+++ b/pads2gpcb/partinst.c	Sun Jan 31 22:03:08 2016 +0000
@@ -73,7 +73,7 @@
 
 	decalname = index(typename, '@');
 	if (decalname)
-		*decalname++;
+		*decalname++ = '\0';
 	our_part->type = find_parttype_by_name(typename);
 	if (!our_part->type) {
 		fprintf(stderr,