Fix typos in comments.

This commit is contained in:
Yegor Yefremov 2020-03-24 16:24:53 +00:00 committed by Ian McInerney
parent cf25975876
commit 99a28fa3e5
8 changed files with 11 additions and 11 deletions

View File

@ -239,7 +239,7 @@ def report_teed_lengths(groupname, netname, target_length, tolerance):
"""
# Each net goes from CPU to four memory chips, these are the 4 lengths from
# CPU to each of the for memory chip balls/pads, some of these journies are
# CPU to each of the for memory chip balls/pads, some of these journeys are
# common with one another but branch off at each T.
lens[0] += len_t1 + len_t2_1
lens[1] += len_t1 + len_t2_1
@ -295,7 +295,7 @@ if __name__ == "__main__":
pass # kicad save process seems to momentarily delete file, so there's a race here with "No such file.."
time.sleep(0.5)
# The "Debug" build of pcbnew writes to disk slowy, new file takes time to get to disk.
# The "Debug" build of pcbnew writes to disk slowly, new file takes time to get to disk.
time.sleep(1)
first = False

View File

@ -2325,7 +2325,7 @@ void IDF3_BOARD::readBoardFile( const std::string& aFileName, bool aNoSubstitute
// section must be the Outline section, and the last section must be the
// Placement section. All other sections may be in any order."
// further notes: Except for the HEADER section, sections may be preceeded by
// further notes: Except for the HEADER section, sections may be preceded by
// comment lines which will be copied back out on write(). No comments may
// be associated with the board file itself since the only logical location
// for unambiguous association is at the end of the file, which is inconvenient

View File

@ -373,7 +373,7 @@ public:
*
* @param aComponentOutline is a pointer to the outline data to be added
*
* @return true if the operation succeedes, otherwise false
* @return true if the operation succeeds, otherwise false
*/
bool AddOutlineData( IDF3_COMP_OUTLINE_DATA* aComponentOutline );

View File

@ -1355,7 +1355,7 @@ bool VRML_LAYER::Write3DIndices( std::ostream& aOutFile, bool aIncludePlatedHole
}
// add a triangular facet (triplet) to the ouptut index list
// add a triangular facet (triplet) to the output index list
bool VRML_LAYER::addTriplet( VERTEX_3D* p0, VERTEX_3D* p1, VERTEX_3D* p2 )
{
double dx0 = p1->x - p0->x;

View File

@ -42,7 +42,7 @@
#endif
#include <wx/glcanvas.h> // CALLBACK definition, needed on Windows
// alse needed on OSX to define __DARWIN__
// also needed on OSX to define __DARWIN__
#ifdef __WXMAC__
# ifdef __DARWIN__
@ -158,7 +158,7 @@ public:
/**
* Function GetArcParams
* retieves the parameters used in calculating the number of vertices in an arc
* retrieves the parameters used in calculating the number of vertices in an arc
*
* @param aMaxSeg is the maximum number of segments for an arc with cords of length aMinLength
* @param aMinLength is the minimum length of cords in an arc
@ -230,7 +230,7 @@ public:
* @param aContour is an index to a contour as returned by NewContour()
* @param aHoleFlag determines if the contour must be a hole
*
* @return bool: true if the operation suceeded
* @return bool: true if the operation succeeded
*/
bool EnsureWinding( int aContourID, bool aHoleFlag );

View File

@ -230,7 +230,7 @@ bool S3D_RESOLVER::createPathList( void )
fndummy.Assign( mS->second, "" );
wxString pathVal;
// ensure system ENV VARs supercede internally defined vars
// ensure system ENV VARs supersede internally defined vars
if( wxGetEnv( mS->first, &pathVal ) && wxDirExists( pathVal ) )
fndummy.Assign( pathVal, "" );
else

View File

@ -63,7 +63,7 @@ private:
std::string m_refdes;
DOUBLET m_position;
double m_rotation; // rotation (radians)
bool m_virtual; // true for a vitual (usually mechanical) component
bool m_virtual; // true for a virtual (usually mechanical) component
std::vector< KICADPAD* > m_pads;
std::vector< KICADCURVE* > m_curves;

View File

@ -1418,7 +1418,7 @@ bool OUTLINE::MakeShape( TopoDS_Shape& aShape, double aThickness )
return false; // there is already data in the shape object
if( m_curves.empty() )
return true; // suceeded in doing nothing
return true; // succeeded in doing nothing
if( !m_closed )
return false; // the loop is not closed