From d598a3a5662a0ce6d60b39d272fce9a278b348aa Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sat, 30 Jun 2018 08:56:14 -0400 Subject: Misc. typos Found via `codespell -q 3 -I ../inkscape-whitelist.txt --skip="*.svg,*.po,*.nsh,*.in,./src/3rdparty"` --- src/object/sp-mesh-array.cpp | 2 +- src/object/sp-object.cpp | 4 ++-- src/object/sp-offset.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/object') 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 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 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. -- cgit v1.2.3 From 055196186fcd7f962e0f60ffe9967c511b8daa01 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Fri, 31 Aug 2018 16:39:22 -0400 Subject: Requested revisions + more typos and grammar fixes --- src/object/sp-offset.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/object') diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp index 348e0ad32..7d2997185 100644 --- a/src/object/sp-offset.cpp +++ b/src/object/sp-offset.cpp @@ -350,8 +350,8 @@ void SPOffset::set_shape() { if ( fabs(this->rad) < 0.01 ) { // grosso modo: 0 - // just put this source as the offsetted one, no one will notice - // it's also useless to compute the offset with a 0 radius + // just put the source of this (almost-non-offsetted) object as being the actual offset, + // 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. const char *res_d = this->getRepr()->attribute("inkscape:original"); @@ -370,7 +370,7 @@ void SPOffset::set_shape() { return; } - // extra paraniac careful check. the preceding if () should take care of this case + // extra paranoiac careful check. the preceding if () should take care of this case if (fabs (this->rad) < 0.01) { this->rad = (this->rad < 0) ? -0.01 : 0.01; } -- cgit v1.2.3