[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: pcb export to gerber file naming
Hi,
The following patch names exported Gerber files with the layer name:
--- src/hid/common/flags.c.orig 2010-07-11 00:10:14.000000000 +1000
+++ src/hid/common/flags.c 2010-07-11 00:09:14.000000000 +1000
@@ -191,7 +191,7 @@
else
{
static char buf[20];
- sprintf (buf, "group%d", group);
+ snprintf (buf, 20, "%s", PCB->Data->Layer[idx].Name);
return buf;
}
break;
Regards,
Rob Jenssen
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug