summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-05-09 14:37:28 +0000
committerluz paz <luzpaz@users.noreply.github.com>2018-05-14 19:38:17 +0000
commit5f701e9b37a3a8adc6e4964bc7fac0f34dfc9db1 (patch)
tree083733a3701c229199a4bc22225f397cc26bedfd /src/object
parentFix bug embeding SVG as PNG (diff)
downloadinkscape-5f701e9b37a3a8adc6e4964bc7fac0f34dfc9db1.tar.gz
inkscape-5f701e9b37a3a8adc6e4964bc7fac0f34dfc9db1.zip
Misc. typos
Found via `codespell` and `grep`
Diffstat (limited to 'src/object')
-rw-r--r--src/object/filters/distantlight.cpp2
-rw-r--r--src/object/sp-offset.cpp2
-rw-r--r--src/object/sp-string.cpp2
-rw-r--r--src/object/uri-references.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/object/filters/distantlight.cpp b/src/object/filters/distantlight.cpp
index 076a7aab5..e2dd4ea1b 100644
--- a/src/object/filters/distantlight.cpp
+++ b/src/object/filters/distantlight.cpp
@@ -15,7 +15,7 @@
#include <glib.h>
-// In same dirctory
+// In same directory
#include "distantlight.h"
#include "diffuselighting.h"
#include "specularlighting.h"
diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp
index 2864e88cb..072304667 100644
--- a/src/object/sp-offset.cpp
+++ b/src/object/sp-offset.cpp
@@ -1190,7 +1190,7 @@ refresh_offset_source(SPOffset* offset)
delete orig;
// TODO fix:
- //XML Tree being used diectly here while it shouldn't be.
+ //XML Tree being used directly here while it shouldn't be.
offset->getRepr()->setAttribute("inkscape:original", res_d);
free (res_d);
diff --git a/src/object/sp-string.cpp b/src/object/sp-string.cpp
index 43b9daeab..df57a5a80 100644
--- a/src/object/sp-string.cpp
+++ b/src/object/sp-string.cpp
@@ -65,7 +65,7 @@ void SPString::read_content() {
// See: http://dev.w3.org/csswg/css-text/#white-space
// | New Lines | Spaces/Tabs | Text Wrapping
// ---------|------------|--------------|--------------
- // normal | Collapes | Collapse | Wrap
+ // normal | Collapse | Collapse | Wrap
// pre | Preserve | Preserve | No Wrap
// nowrap | Collapse | Collapse | No Wrap
// pre-wrap | Preserve | Preserve | Wrap
diff --git a/src/object/uri-references.cpp b/src/object/uri-references.cpp
index faa3d38d9..43dc996df 100644
--- a/src/object/uri-references.cpp
+++ b/src/object/uri-references.cpp
@@ -69,7 +69,7 @@ bool URIReference::_acceptObject(SPObject *obj) const
// we go back following hrefList and parent to find if the object already references ourselves indirectly
std::set<SPObject *> done;
SPObject *owner = getOwner();
- //allow LPE as owner has any URI atached
+ //allow LPE as owner has any URI attached
if (!owner || IS_LIVEPATHEFFECT(owner))
return true;