summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-09-13 21:21:35 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-09-13 21:21:35 +0000
commitf9b01394218c342221107286ab8e16cc0ee78837 (patch)
treec7ea2555f87f5470be3d8106cea287d97fc151df /src/object
parentAllow symbols dialog on dark theme (diff)
parentRequested revisions + more typos and grammar fixes (diff)
downloadinkscape-f9b01394218c342221107286ab8e16cc0ee78837.tar.gz
inkscape-f9b01394218c342221107286ab8e16cc0ee78837.zip
Merge branch 'misc-typos' of gitlab.com:luzpaz/inkscape
Diffstat (limited to 'src/object')
-rw-r--r--src/object/sp-mesh-array.cpp2
-rw-r--r--src/object/sp-object.cpp4
-rw-r--r--src/object/sp-offset.cpp6
3 files changed, 6 insertions, 6 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..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 the source this as the offseted 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;
}