← Back to team overview

kicad-developers team mailing list archive

[PATCH] Fix spelling "propage" -> "propagate"

 

---
 eeschema/class_netlist_object.h |  2 +-
 eeschema/netlist.cpp            | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/eeschema/class_netlist_object.h b/eeschema/class_netlist_object.h
index d47ebbd..9608f90 100644
--- a/eeschema/class_netlist_object.h
+++ b/eeschema/class_netlist_object.h
@@ -423,7 +423,7 @@ private:
      * used to interconnect group of items already physically connected,
      * when a new connection is found between aOldNetCode and aNewNetCode
      */
-    void propageNetCode( int aOldNetCode, int aNewNetCode, bool aIsBus );
+    void propagateNetCode( int aOldNetCode, int aNewNetCode, bool aIsBus );
 
     /*
      * This function merges the net codes of groups of objects already connected
diff --git a/eeschema/netlist.cpp b/eeschema/netlist.cpp
index 8a490e8..f3afe97 100644
--- a/eeschema/netlist.cpp
+++ b/eeschema/netlist.cpp
@@ -635,7 +635,7 @@ void NETLIST_OBJECT_LIST::sheetLabelConnect( NETLIST_OBJECT* SheetLabel )
 
         // Propagate Netcode having all the objects of the same Netcode.
         if( ObjetNet->GetNet() )
-            propageNetCode( ObjetNet->GetNet(), SheetLabel->GetNet(), IS_WIRE );
+            propagateNetCode( ObjetNet->GetNet(), SheetLabel->GetNet(), IS_WIRE );
         else
             ObjetNet->SetNet( SheetLabel->GetNet() );
     }
@@ -677,7 +677,7 @@ void NETLIST_OBJECT_LIST::connectBusLabels()
                         LabelInTst->SetNet( Label->GetNet() );
                     else
                         // Merge the 2 net codes, they are connected.
-                        propageNetCode( LabelInTst->GetNet(), Label->GetNet(), IS_WIRE );
+                        propagateNetCode( LabelInTst->GetNet(), Label->GetNet(), IS_WIRE );
                 }
             }
         }
@@ -685,7 +685,7 @@ void NETLIST_OBJECT_LIST::connectBusLabels()
 }
 
 
-void NETLIST_OBJECT_LIST::propageNetCode( int aOldNetCode, int aNewNetCode, bool aIsBus )
+void NETLIST_OBJECT_LIST::propagateNetCode( int aOldNetCode, int aNewNetCode, bool aIsBus )
 {
     if( aOldNetCode == aNewNetCode )
         return;
@@ -747,7 +747,7 @@ void NETLIST_OBJECT_LIST::pointToPointConnect( NETLIST_OBJECT* aRef, bool aIsBus
                     if( item->GetNet() == 0 )
                         item->SetNet( netCode );
                     else
-                        propageNetCode( item->GetNet(), netCode, IS_WIRE );
+                        propagateNetCode( item->GetNet(), netCode, IS_WIRE );
                 }
                 break;
 
@@ -799,7 +799,7 @@ void NETLIST_OBJECT_LIST::pointToPointConnect( NETLIST_OBJECT* aRef, bool aIsBus
                     if( item->m_BusNetCode == 0 )
                         item->m_BusNetCode = netCode;
                     else
-                        propageNetCode( item->m_BusNetCode, netCode, IS_BUS );
+                        propagateNetCode( item->m_BusNetCode, netCode, IS_BUS );
                 }
                 break;
             }
@@ -836,14 +836,14 @@ void NETLIST_OBJECT_LIST::segmentToPointConnect( NETLIST_OBJECT* aJonction,
             if( aIsBus == IS_WIRE )
             {
                 if( segment->GetNet() )
-                    propageNetCode( segment->GetNet(), aJonction->GetNet(), aIsBus );
+                    propagateNetCode( segment->GetNet(), aJonction->GetNet(), aIsBus );
                 else
                     segment->SetNet( aJonction->GetNet() );
             }
             else
             {
                 if( segment->m_BusNetCode )
-                    propageNetCode( segment->m_BusNetCode, aJonction->m_BusNetCode, aIsBus );
+                    propagateNetCode( segment->m_BusNetCode, aJonction->m_BusNetCode, aIsBus );
                 else
                     segment->m_BusNetCode = aJonction->m_BusNetCode;
             }
@@ -887,7 +887,7 @@ void NETLIST_OBJECT_LIST::labelConnect( NETLIST_OBJECT* aLabelRef )
                 continue;
 
             if( item->GetNet() )
-                propageNetCode( item->GetNet(), aLabelRef->GetNet(), IS_WIRE );
+                propagateNetCode( item->GetNet(), aLabelRef->GetNet(), IS_WIRE );
             else
                 item->SetNet( aLabelRef->GetNet() );
         }