Skip to content

Commit

Permalink
Misc. code comment typo fixes
Browse files Browse the repository at this point in the history
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
  • Loading branch information
luzpaz authored and yorikvanhavre committed Jul 27, 2018
1 parent 4c188ec commit 0576524
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Gui/NavigationStyle.h
Expand Up @@ -100,7 +100,7 @@ class GuiExport NavigationStyle : public Base::BaseClass

enum RotationCenterMode {
ScenePointAtCursor, /**< Find the point in the scene at the cursor position. If there is no point then the focal plane is used */
FocalPointAtCursor /**< Find the point on the focal plane at the cursor postion. */
FocalPointAtCursor /**< Find the point on the focal plane at the cursor position. */
};

public:
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Arch/importIFC.py
Expand Up @@ -1512,7 +1512,7 @@ def export(exportList,filename):
groups[obj.Name] = [o.Name for o in obj.Group]
continue
if (Draft.getType(obj) == "BuildingPart") and hasattr(obj,"IfcRole") and (obj.IfcRole == "Undefined"):
ifctype = "IfcBuildingStorey" # export BuildingParts as Storeys if their type wasn't explicitely set
ifctype = "IfcBuildingStorey" # export BuildingParts as Storeys if their type wasn't explicitly set
if (Draft.getType(obj) == "BuildingPart") and hasattr(obj,"IfcRole") and (obj.IfcRole == "Building"):
ifctype = "IfcBuilding"

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Path/App/Area.cpp
Expand Up @@ -755,7 +755,7 @@ struct WireJoiner {
}
}

// split any edges that are intersected by othe edge's end point in the middle
// split any edges that are intersected by other edge's end point in the middle
void splitEdges() {
#if (BOOST_VERSION < 105500)
throw Base::RuntimeError("Module must be built with boost version >= 1.55");
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
Expand Up @@ -2771,7 +2771,7 @@ QString ViewProviderSketch::getPresentationString(const Constraint *constraint)
{
// Only hide the default length unit. Right now there is not an easy way
// to get that from the Unit system so we have to manually add it here.
// Hopfully this can be added in the future so this code won't have to
// Hopefully this can be added in the future so this code won't have to
// be updated if a new units schema is added.
unitSys = Base::UnitsApi::getSchema();

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/Gui/QGIViewDimension.cpp
Expand Up @@ -433,7 +433,7 @@ void QGIViewDimension::draw()
margin = Rez::guiX(2.f);
float scaler = 1.;

//intersection of extention lines and dimension line
//intersection of extension lines and dimension line
Base::Vector3d startIntercept = DrawUtil::Intersect2d(startDist, dirExt,
fauxCenter,dirDim);
Base::Vector3d endIntercept = DrawUtil::Intersect2d(endDist, dirExt,
Expand Down

0 comments on commit 0576524

Please sign in to comment.