r5150 - trunk/gta02-core/kicad-patches

werner at docs.openmoko.org werner at docs.openmoko.org
Fri Jun 19 22:56:01 CEST 2009


Author: werner
Date: 2009-06-19 22:56:01 +0200 (Fri, 19 Jun 2009)
New Revision: 5150

Added:
   trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch
Modified:
   trunk/gta02-core/kicad-patches/series
Log:
Fixed placement of command in the LIBS line of .sch files.



Added: trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch
===================================================================
--- trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch	                        (rev 0)
+++ trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch	2009-06-19 20:56:01 UTC (rev 5150)
@@ -0,0 +1,20 @@
+The comma-placing logic is reversed. Luckily, the LIBS line is never
+read back, so this didn't cause any real damage.
+
+- Werner
+
+---
+
+Index: kicad/eeschema/save_schemas.cpp
+===================================================================
+--- kicad.orig/eeschema/save_schemas.cpp	2009-06-19 17:48:39.000000000 -0300
++++ kicad/eeschema/save_schemas.cpp	2009-06-19 17:48:46.000000000 -0300
+@@ -121,7 +121,7 @@
+     bool first = true;
+     for( LibraryStruct* Lib = g_LibraryList; Lib != NULL; Lib = Lib->m_Pnext )
+     {
+-        if( first )
++        if( !first )
+             Name += wxT( "," );
+         Name += Lib->m_Name;
+         first = false;

Modified: trunk/gta02-core/kicad-patches/series
===================================================================
--- trunk/gta02-core/kicad-patches/series	2009-06-19 19:37:01 UTC (rev 5149)
+++ trunk/gta02-core/kicad-patches/series	2009-06-19 20:56:01 UTC (rev 5150)
@@ -18,3 +18,4 @@
 #pcbnew-plot-only-mode.patch
 
 make-junctions-larger-on-plotps.patch
+fix-eeschema-libs.patch




More information about the commitlog mailing list