1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-22 19:23:44 +02:00

- ctime(3) already provides a newline, so don't add an extra one to the .mod

file, possibly confusing KiCad



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5463 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2009-08-16 12:24:03 +00:00
parent be86e276b8
commit 9e1631df30

View File

@ -273,7 +273,7 @@ int kicad(FILE *file)
{ {
time_t now = time(NULL); time_t now = time(NULL);
fprintf(file, "PCBNEW-LibModule-V1 %s\n", ctime(&now)); fprintf(file, "PCBNEW-LibModule-V1 %s", ctime(&now));
fprintf(file, "$INDEX\n"); fprintf(file, "$INDEX\n");
fprintf(file, "%s\n", part_name); fprintf(file, "%s\n", part_name);