From: Peter C. <pc...@ca...> - 2011-04-21 13:02:29
|
** Changed in: pcb Status: Expired => Incomplete -- You received this bug notification because you are a member of PCB Bug Team, which is subscribed to pcb. https://bugs.launchpad.net/bugs/700877 Title: Name exported Gerber files with the layer name Status in PCB: Printed Circuit Board CAD package: Incomplete Bug description: Here is a patch to a src/hid/common/flags.c (git repository clone'd 10th Jan 11) to name exported Gerber files with the layer name: diff --git a/src/hid/common/flags.c b/src/hid/common/flags.c index 30859fb..feda662 100644 --- a/src/hid/common/flags.c +++ b/src/hid/common/flags.c @@ -191,7 +191,7 @@ layer_type_to_file_name (int idx) else { static char buf[20]; - sprintf (buf, "group%d", group); + snprintf (buf, 20, "%s", PCB->Data->Layer[idx].Name); return buf; } break; |