summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-06-30 12:56:14 +0000
committerluz paz <luzpaz@users.noreply.github.com>2018-09-11 19:26:04 +0000
commitd598a3a5662a0ce6d60b39d272fce9a278b348aa (patch)
tree01411005c8d350718316c095d2c19e3b0b49e35b /src
parentRefactor xml editor, improve UI and prepare for future additions (diff)
downloadinkscape-d598a3a5662a0ce6d60b39d272fce9a278b348aa.tar.gz
inkscape-d598a3a5662a0ce6d60b39d272fce9a278b348aa.zip
Misc. typos
Found via `codespell -q 3 -I ../inkscape-whitelist.txt --skip="*.svg,*.po,*.nsh,*.in,./src/3rdparty"`
Diffstat (limited to 'src')
-rw-r--r--src/object/sp-mesh-array.cpp2
-rw-r--r--src/object/sp-object.cpp4
-rw-r--r--src/object/sp-offset.cpp2
-rw-r--r--src/ui/dialog/xml-tree.h2
-rw-r--r--src/ui/tool/path-manipulator.cpp2
-rw-r--r--src/ui/tools/measure-tool.cpp2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/object/sp-mesh-array.cpp b/src/object/sp-mesh-array.cpp
index 2e1ff988f..4815ec5c1 100644
--- a/src/object/sp-mesh-array.cpp
+++ b/src/object/sp-mesh-array.cpp
@@ -2126,7 +2126,7 @@ guint SPMeshNodeArray::tensor_toggle( std::vector<guint> corners ) {
}
/**
- Atempts to smooth color transitions across corners.
+ Attempts to smooth color transitions across corners.
Input is a list of selected corner draggable indices.
*/
guint SPMeshNodeArray::color_smooth( std::vector<guint> corners ) {
diff --git a/src/object/sp-object.cpp b/src/object/sp-object.cpp
index d9a003074..c76196d98 100644
--- a/src/object/sp-object.cpp
+++ b/src/object/sp-object.cpp
@@ -604,7 +604,7 @@ void SPObject::child_added(Inkscape::XML::Node *child, Inkscape::XML::Node *ref)
SPObject* ochild = SPFactory::createObject(type_string);
if (ochild == nullptr) {
- // Currenty, there are many node types that do not have
+ // Currently, there are many node types that do not have
// corresponding classes in the SPObject tree.
// (rdf:RDF, inkscape:clipboard, ...)
// Thus, simply ignore this case for now.
@@ -673,7 +673,7 @@ void SPObject::build(SPDocument *document, Inkscape::XML::Node *repr) {
SPObject* child = SPFactory::createObject(typeString);
if (child == nullptr) {
- // Currenty, there are many node types that do not have
+ // Currently, there are many node types that do not have
// corresponding classes in the SPObject tree.
// (rdf:RDF, inkscape:clipboard, ...)
// Thus, simply ignore this case for now.
diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp
index 9f9297077..348e0ad32 100644
--- a/src/object/sp-offset.cpp
+++ b/src/object/sp-offset.cpp
@@ -350,7 +350,7 @@ void SPOffset::set_shape() {
if ( fabs(this->rad) < 0.01 ) {
// grosso modo: 0
- // just put the source this as the offseted one, no one will notice
+ // just put this source as the offsetted one, no one will notice
// it's also useless to compute the offset with a 0 radius
//XML Tree being used directly here while it shouldn't be.
diff --git a/src/ui/dialog/xml-tree.h b/src/ui/dialog/xml-tree.h
index 168bff9b7..2eff808ef 100644
--- a/src/ui/dialog/xml-tree.h
+++ b/src/ui/dialog/xml-tree.h
@@ -68,7 +68,7 @@ private:
void set_tree_desktop(SPDesktop *desktop);
/**
- * Is invoked when the documnet changes
+ * Is invoked when the document changes
*/
void set_tree_document(SPDocument *document);
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 2369a75d4..6bde57117 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1508,7 +1508,7 @@ void PathManipulator::_setGeometry()
LIVEPATHEFFECT(_path)->requestModified(SP_OBJECT_MODIFIED_FLAG);
}
} else {
- // return true to leave the decission on empty to the caller.
+ // return true to leave the decision on empty to the caller.
// Maybe the path become empty and we want to update to empty
if (empty()) return;
if (SPCurve * original = _path->getCurveBeforeLPE()){
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index a305fa350..a9c5fbb37 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -193,7 +193,7 @@ Geom::Point calcAngleDisplayAnchor(SPDesktop *desktop, double angle, double base
* Create a measure iten in current document.
*
* @param pathv the path to create.
- * @param markers, if the path resuts get markers.
+ * @param markers, if the path results get markers.
* @param color of the stroke.
* @param measure_repr container element.
*/