summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCMakeScripts/cmake_consistency_check.py4
-rw-r--r--doc/architecture.txt2
-rw-r--r--doc/nr-filter-interface.txt2
-rw-r--r--share/extensions/Barcode/Code128.py6
-rw-r--r--share/extensions/Barcode/Code39.py2
-rw-r--r--share/extensions/Barcode/Code93.py2
-rwxr-xr-xshare/extensions/bezmisc.py2
-rw-r--r--share/filters/README2
-rw-r--r--share/icons/hicolor/scalable/actions/feBlend-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feColorMatrix-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feComposite-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feConvolveMatrix-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feDisplacementMap-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feFlood-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feGaussianBlur-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feImage-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feMerge-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feMorphology-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feOffset-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/feTurbulence-icon.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/stroke-join-bevel.svg2
-rw-r--r--share/icons/hicolor/scalable/actions/stroke-join-round.svg2
-rw-r--r--share/symbols/BalloonSymbols.svg2
-rw-r--r--src/attribute-rel-util.cpp2
-rw-r--r--src/display/drawing-pattern.cpp4
-rw-r--r--src/gc-finalized.h2
-rw-r--r--src/io/resource.cpp2
-rw-r--r--src/libnrtype/Layout-TNG-Output.cpp2
-rw-r--r--src/style-internal.h4
-rw-r--r--src/ui/clipboard.cpp2
-rw-r--r--src/ui/dialog/xml-tree.cpp2
-rw-r--r--src/ui/tools/pencil-tool.cpp8
32 files changed, 40 insertions, 40 deletions
diff --git a/CMakeScripts/cmake_consistency_check.py b/CMakeScripts/cmake_consistency_check.py
index 64419936b..0b26f05d6 100755
--- a/CMakeScripts/cmake_consistency_check.py
+++ b/CMakeScripts/cmake_consistency_check.py
@@ -280,7 +280,7 @@ def main():
ignore_used = [False] * len(IGNORE)
# now check on files not accounted for.
- print("\nC/C++ Files CMake doesnt know about...")
+ print("\nC/C++ Files CMake does not know about...")
for cf in sorted(source_list(SOURCE_DIR, is_c)):
if not is_ignore(cf, ignore_used):
if cf not in global_c:
@@ -297,7 +297,7 @@ def main():
print("bad_c: ", cf)
'''
- print("\nC/C++ Headers CMake doesnt know about...")
+ print("\nC/C++ Headers CMake does not know about...")
for hf in sorted(source_list(SOURCE_DIR, is_c_header)):
if not is_ignore(hf, ignore_used):
if hf not in global_h:
diff --git a/doc/architecture.txt b/doc/architecture.txt
index 14b038b6e..4f4c859f7 100644
--- a/doc/architecture.txt
+++ b/doc/architecture.txt
@@ -385,7 +385,7 @@ behaviour can be used to collect multi-step actions (like winding the
Gtk spinbutton) from the UI into a single undoable step.
For controls implemented by Sodipodi itself, implementing undo as a
-single step is usually done in a more efficent way. Most controls have
+single step is usually done in a more efficient way. Most controls have
the abstract model of grab, drag, release, and change user
action. During the grab phase, all modifications are done to the
SPObject directly - i.e. they do not change XML tree, and thus do not
diff --git a/doc/nr-filter-interface.txt b/doc/nr-filter-interface.txt
index 6950317fc..6eb27bc2a 100644
--- a/doc/nr-filter-interface.txt
+++ b/doc/nr-filter-interface.txt
@@ -143,7 +143,7 @@ contains the filter effect area
Filter effects region and filter primitive subregion
====================================================
-void Filter::set_x(SVGLength &lenght)
+void Filter::set_x(SVGLength &length)
void FilterPrimitive::set_x(SVGLength &length)
void Filter::set_y(SVGLength &length)
diff --git a/share/extensions/Barcode/Code128.py b/share/extensions/Barcode/Code128.py
index b90e3bcf6..4af788bbe 100644
--- a/share/extensions/Barcode/Code128.py
+++ b/share/extensions/Barcode/Code128.py
@@ -73,9 +73,9 @@ class Code128(Barcode):
blocks = []
block = ''
- # Split up into sections of numbers, or charicters
- # This makes sure that all the charicters are encoded
- # In the best way posible for Code128
+ # Split up into sections of numbers, or characters
+ # This makes sure that all the characters are encoded
+ # In the best way possible for Code128
for datum in re.findall(r'(?:(?:\d\d){2,})|(?:^\d\d)|.', text):
if len(datum) == 1:
block = block + datum
diff --git a/share/extensions/Barcode/Code39.py b/share/extensions/Barcode/Code39.py
index 0d4d445b1..cfe619bb0 100644
--- a/share/extensions/Barcode/Code39.py
+++ b/share/extensions/Barcode/Code39.py
@@ -73,7 +73,7 @@ class Code39(Barcode):
def encode(self, text):
self.text = text.upper()
result = ''
- # It isposible for us to encode code39
+ # It is possible for us to encode code39
# into full ascii, but this feature is
# not enabled here
for char in '*' + self.text + '*':
diff --git a/share/extensions/Barcode/Code93.py b/share/extensions/Barcode/Code93.py
index 939a739dd..d09971fe7 100644
--- a/share/extensions/Barcode/Code93.py
+++ b/share/extensions/Barcode/Code93.py
@@ -91,7 +91,7 @@ class Code93(Barcode):
return PALLET[check % 47]
- # Some charicters need re-ENCODE into the code93 specification
+ # Some characters need re-ENCODE into the code93 specification
def encode_ascii(self, text):
result = []
for char in text:
diff --git a/share/extensions/bezmisc.py b/share/extensions/bezmisc.py
index c36e8e1b4..1119b85e2 100755
--- a/share/extensions/bezmisc.py
+++ b/share/extensions/bezmisc.py
@@ -113,7 +113,7 @@ def bezierslopeatt(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),t):
def beziertatslope(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),(dy,dx)):
ax,ay,bx,by,cx,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
- #quadratic coefficents of slope formula
+ #quadratic coefficients of slope formula
if dx:
slope = 1.0*(dy/dx)
a=3*ay-3*ax*slope
diff --git a/share/filters/README b/share/filters/README
index ac45826b8..2cdb43e79 100644
--- a/share/filters/README
+++ b/share/filters/README
@@ -9,6 +9,6 @@ inkscape:menu is the submenu under Effects > Filters
inkscape:menu-tooltip is the menu command's tooltip in the statusbar
These are then put into filters.svg.h in order to make them translatable.
-They should appear as a normal translation to translaters through the
+They should appear as a normal translation to translators through the
gettext system.
diff --git a/share/icons/hicolor/scalable/actions/feBlend-icon.svg b/share/icons/hicolor/scalable/actions/feBlend-icon.svg
index dca97f107..1a5cffc60 100644
--- a/share/icons/hicolor/scalable/actions/feBlend-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feBlend-icon.svg
@@ -43,7 +43,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feColorMatrix-icon.svg b/share/icons/hicolor/scalable/actions/feColorMatrix-icon.svg
index ed33b0158..0aea1b545 100644
--- a/share/icons/hicolor/scalable/actions/feColorMatrix-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feColorMatrix-icon.svg
@@ -54,7 +54,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feComposite-icon.svg b/share/icons/hicolor/scalable/actions/feComposite-icon.svg
index d3bd7511e..d8dc0a9d1 100644
--- a/share/icons/hicolor/scalable/actions/feComposite-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feComposite-icon.svg
@@ -43,7 +43,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feConvolveMatrix-icon.svg b/share/icons/hicolor/scalable/actions/feConvolveMatrix-icon.svg
index 5fa369e0c..c87a5bda1 100644
--- a/share/icons/hicolor/scalable/actions/feConvolveMatrix-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feConvolveMatrix-icon.svg
@@ -34,7 +34,7 @@
<rdf:li>ConvolveMatrix filter primitive example</rdf:li>
</rdf:Bag>
</dc:subject>
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:publisher>
<cc:Agent>
<dc:title>Felipe Corrêa da Silva Sanches</dc:title>
diff --git a/share/icons/hicolor/scalable/actions/feDisplacementMap-icon.svg b/share/icons/hicolor/scalable/actions/feDisplacementMap-icon.svg
index aba251e47..66f886d13 100644
--- a/share/icons/hicolor/scalable/actions/feDisplacementMap-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feDisplacementMap-icon.svg
@@ -51,7 +51,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feFlood-icon.svg b/share/icons/hicolor/scalable/actions/feFlood-icon.svg
index c7cafac7b..75cd33589 100644
--- a/share/icons/hicolor/scalable/actions/feFlood-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feFlood-icon.svg
@@ -42,7 +42,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feGaussianBlur-icon.svg b/share/icons/hicolor/scalable/actions/feGaussianBlur-icon.svg
index 92f87e75c..c906a5f4a 100644
--- a/share/icons/hicolor/scalable/actions/feGaussianBlur-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feGaussianBlur-icon.svg
@@ -31,7 +31,7 @@
<rdf:li>hexamines icon</rdf:li>
</rdf:Bag>
</dc:subject>
-<dc:description>this is an image originaly intended to be used in the hexamines game</dc:description>
+<dc:description>this is an image originally intended to be used in the hexamines game</dc:description>
<dc:publisher>
<cc:Agent>
<dc:title>Felipe Corrêa da Silva Sanches</dc:title>
diff --git a/share/icons/hicolor/scalable/actions/feImage-icon.svg b/share/icons/hicolor/scalable/actions/feImage-icon.svg
index 2203c16b8..b40e84d56 100644
--- a/share/icons/hicolor/scalable/actions/feImage-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feImage-icon.svg
@@ -31,7 +31,7 @@
<rdf:li>Image filter primitive example</rdf:li>
</rdf:Bag>
</dc:subject>
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:publisher>
<cc:Agent>
<dc:title>Felipe Corrêa da Silva Sanches</dc:title>
diff --git a/share/icons/hicolor/scalable/actions/feMerge-icon.svg b/share/icons/hicolor/scalable/actions/feMerge-icon.svg
index 14070373e..d3b34564e 100644
--- a/share/icons/hicolor/scalable/actions/feMerge-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feMerge-icon.svg
@@ -43,7 +43,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feMorphology-icon.svg b/share/icons/hicolor/scalable/actions/feMorphology-icon.svg
index 15f215508..5cbf580dd 100644
--- a/share/icons/hicolor/scalable/actions/feMorphology-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feMorphology-icon.svg
@@ -40,7 +40,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feOffset-icon.svg b/share/icons/hicolor/scalable/actions/feOffset-icon.svg
index 6b2d87681..e8a4808dd 100644
--- a/share/icons/hicolor/scalable/actions/feOffset-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feOffset-icon.svg
@@ -36,7 +36,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in the hexamines game</dc:description>
+<dc:description>this is an image originally intended to be used in the hexamines game</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/feTurbulence-icon.svg b/share/icons/hicolor/scalable/actions/feTurbulence-icon.svg
index 37d986d36..cc0d0c714 100644
--- a/share/icons/hicolor/scalable/actions/feTurbulence-icon.svg
+++ b/share/icons/hicolor/scalable/actions/feTurbulence-icon.svg
@@ -40,7 +40,7 @@
</rdf:Bag>
</dc:subject>
<dc:coverage />
-<dc:description>this is an image originaly intended to be used in Inkscape</dc:description>
+<dc:description>this is an image originally intended to be used in Inkscape</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
diff --git a/share/icons/hicolor/scalable/actions/stroke-join-bevel.svg b/share/icons/hicolor/scalable/actions/stroke-join-bevel.svg
index 2784c7070..1d493023c 100644
--- a/share/icons/hicolor/scalable/actions/stroke-join-bevel.svg
+++ b/share/icons/hicolor/scalable/actions/stroke-join-bevel.svg
@@ -7,7 +7,7 @@
height="24"
>
<g id="stroke-join-bevel" inkscape:label="#join_bevel">
- <!-- Corner exagerated -->
+ <!-- Corner exaggerated -->
<path d="m 0.5,24 0,-13 10.5,-10.5 13,0 0,17 -6.5,0 0,6.5 z" style="fill:#99b6d4"/>
<path d="m 0.5,24 0,-13 10.5,-10.5 13,0 m 0,17 -6.5,0 0,6.5 " style="fill:none;stroke:black"/>
<path d="m 9,24 0,-15 15,0" style="fill:none;stroke:white;stroke-width:2px;stroke-dasharray:2 2;stroke-dashoffset:2"/>
diff --git a/share/icons/hicolor/scalable/actions/stroke-join-round.svg b/share/icons/hicolor/scalable/actions/stroke-join-round.svg
index d604d2f0a..06cbeb745 100644
--- a/share/icons/hicolor/scalable/actions/stroke-join-round.svg
+++ b/share/icons/hicolor/scalable/actions/stroke-join-round.svg
@@ -8,7 +8,7 @@
>
<g id="stroke-join-round" inkscape:label="#join_round">
- <!-- Corner exagerated -->
+ <!-- Corner exaggerated -->
<path d="m 0.5,24 0,-11 a 12.5,12.5 0 0 1 12.5,-12.5 l 11,0 0,17 -6.5,0 0,6.5 z" style="fill:#99b6d4"/>
<path d="m 0.5,24 0,-11 a 12.5,12.5 0 0 1 12.5,-12.5 l 11,0 m 0,17 -6.5,0 0,6.5 " style="fill:none;stroke:black"/>
<path d="m 9,24 0,-15 15,0" style="fill:none;stroke:white;stroke-width:2px;stroke-dasharray:2 2;stroke-dashoffset:2"/>
diff --git a/share/symbols/BalloonSymbols.svg b/share/symbols/BalloonSymbols.svg
index b2563e47a..e9a76fafb 100644
--- a/share/symbols/BalloonSymbols.svg
+++ b/share/symbols/BalloonSymbols.svg
@@ -36,7 +36,7 @@
<rdf:li>balloon</rdf:li>
<rdf:li>comic</rdf:li>
<rdf:li>cartoon</rdf:li>
- <rdf:li>speach</rdf:li>
+ <rdf:li>speech</rdf:li>
<rdf:li>exclaim</rdf:li>
</rdf:Bag>
</dc:subject>
diff --git a/src/attribute-rel-util.cpp b/src/attribute-rel-util.cpp
index 5e770d4ae..42b6bebf2 100644
--- a/src/attribute-rel-util.cpp
+++ b/src/attribute-rel-util.cpp
@@ -309,7 +309,7 @@ bool sp_attribute_check_attribute(Glib::ustring element, Glib::ustring id, Glib:
// First check if it is a presentation attribute. Presentation attributes can be applied to
// any element. At the moment, we are only going to check if it is a possibly useful
- // attribute. Note, we don't explicitely check against the list of elements where presentation
+ // attribute. Note, we don't explicitly check against the list of elements where presentation
// attributes are allowed (See SVG1.1 spec, Appendix M.2).
if( !SPAttributeRelCSS::findIfValid( attribute, element ) ) {
diff --git a/src/display/drawing-pattern.cpp b/src/display/drawing-pattern.cpp
index d0bf5de58..b590a59c5 100644
--- a/src/display/drawing-pattern.cpp
+++ b/src/display/drawing-pattern.cpp
@@ -165,8 +165,8 @@ unsigned DrawingPattern::_updateItem(Geom::IntRect const &area, UpdateContext co
const double oversampling = 2.0;
double scale = det_ctm*det_ps2user*det_child_transform * oversampling;
//FIXME: When scale is too big (zooming in a hatch), cairo doesn't render the pattern
- //More precisely it fails when seting pattern matrix in DrawingPattern::renderPattern
- //Fully correct solution should make use of visible area bbox and change hach tile rect
+ //More precisely it fails when setting pattern matrix in DrawingPattern::renderPattern
+ //Fully correct solution should make use of visible area bbox and change hatch tile rect
//accordingly
if (scale > 25) {
scale = 25;
diff --git a/src/gc-finalized.h b/src/gc-finalized.h
index d39338643..887603806 100644
--- a/src/gc-finalized.h
+++ b/src/gc-finalized.h
@@ -36,7 +36,7 @@ namespace GC {
* 1. The garbage collector uses strictly topologically-ordered
* finalization; if objects with finalizers reference each other
* directly or indirectly, the collector will refuse to finalize (and
- * therefor free) them. You'll see a warning on the console if this
+ * therefore free) them. You'll see a warning on the console if this
* happens.
*
* The best way to limit this effect is to only make "leaf" objects
diff --git a/src/io/resource.cpp b/src/io/resource.cpp
index 13da37d7a..0b242cc31 100644
--- a/src/io/resource.cpp
+++ b/src/io/resource.cpp
@@ -209,7 +209,7 @@ Glib::ustring get_filename(Glib::ustring path, Glib::ustring filename)
}
/*
- * Get's all the files in a given type, for all domain types.
+ * Gets all the files in a given type, for all domain types.
*
* domain - Optional domain (overload), will check return domains if not.
* type - The type of files, e.g. TEMPLATES
diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp
index 9a73b9eca..984c2dd1a 100644
--- a/src/libnrtype/Layout-TNG-Output.cpp
+++ b/src/libnrtype/Layout-TNG-Output.cpp
@@ -625,7 +625,7 @@ Glib::ustring Layout::dumpAsText() const
+ Glib::ustring::compose(" direction %1, block-progression %2\n", direction_to_text(_spans[span_index].direction), direction_to_text(_spans[span_index].block_progression))
+ " ** characters:\n";
Glib::ustring::const_iterator iter_char = _spans[span_index].input_stream_first_character;
- // very inefficent code. what the hell, it's only debug stuff.
+ // very inefficient code. what the hell, it's only debug stuff.
for (unsigned char_index = 0 ; char_index < _characters.size() ; char_index++) {
union {const PangoLogAttr* pattr; const unsigned* uattr;} u;
u.pattr = &_characters[char_index].char_attributes;
diff --git a/src/style-internal.h b/src/style-internal.h
index 5c22c093d..33e71d5b4 100644
--- a/src/style-internal.h
+++ b/src/style-internal.h
@@ -116,7 +116,7 @@ enum SPStyleSrc {
*
*/
-/// Virtual base class for all SPStyle interal classes
+/// Virtual base class for all SPStyle internal classes
class SPIBase
{
@@ -733,7 +733,7 @@ public:
gchar *value_default;
};
-/// Color type interal to SPStyle, FIXME Add string value to store SVG named color.
+/// Color type internal to SPStyle, FIXME Add string value to store SVG named color.
class SPIColor : public SPIBase
{
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index 118d7ae1f..a0f1fa09c 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -672,7 +672,7 @@ std::vector<Glib::ustring> ClipboardManagerImpl::getElementsOfType(SPDesktop *de
root->removeChild(tempdoc->getDefs()->getRepr());
std::vector<Inkscape::XML::Node const *> reprs;
if (strcmp(type, "*") == 0){
- //TODO:Fill vector with all posible elements
+ //TODO:Fill vector with all possible elements
std::vector<Glib::ustring> types;
types.push_back((Glib::ustring)"svg:path");
types.push_back((Glib::ustring)"svg:circle");
diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp
index 5747c7726..6429e655d 100644
--- a/src/ui/dialog/xml-tree.cpp
+++ b/src/ui/dialog/xml-tree.cpp
@@ -447,7 +447,7 @@ void XmlTree::set_tree_select(Inkscape::XML::Node *repr)
gtk_tree_selection_select_iter(selection, &node);
} else {
- g_message("XmlTree::set_tree_select : Couldnt find repr node");
+ g_message("XmlTree::set_tree_select : Couldn't find repr node");
}
} else {
GtkTreeSelection *selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(tree));
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp
index 6f64e8e26..fb50898ed 100644
--- a/src/ui/tools/pencil-tool.cpp
+++ b/src/ui/tools/pencil-tool.cpp
@@ -115,7 +115,7 @@ void PencilTool::_endpointSnap(Geom::Point &p, guint const state) {
}
} else {
if (!(state & GDK_SHIFT_MASK)) { //SHIFT disables all snapping, except the angular snapping above
- //After all, the user explicitely asked for angular snapping by
+ //After all, the user explicitly asked for angular snapping by
//pressing CTRL
boost::optional<Geom::Point> origin = this->npoints > 0 ? this->p[0] : boost::optional<Geom::Point>();
spdc_endpoint_snap_free(this, p, origin, state);
@@ -322,7 +322,7 @@ bool PencilTool::_handleMotionNotify(GdkEventMotion const &mevent) {
// Only in freehand mode we have to add the first point also to this->ps (apparently)
// - We cannot add this point in spdc_set_startpoint, because we only need it for freehand
// - We cannot do this in the button press handler because at that point we don't know yet
- // wheter we're going into freehand mode or not
+ // whether we're going into freehand mode or not
this->ps.push_back(this->p[0]);
this->wps.push_back(this->pressure);
}
@@ -769,9 +769,9 @@ PencilTool::addPowerStrokePencil(SPCurve * c)
bool start = true;
auto pressure = this->wps.begin();
for (auto point = this->ps.begin(); point != this->ps.end(); ++point,++pressure) {
- //Maybe the 12 POW can be moved to a preferences 12 give a good results of sensibility on my tablet
+ //Maybe the 12 POW can be moved to a preferences 12 gives a good results of sensibility on my tablet
//But maybe is a tweakable value. less number = less sensibility
- //8 give an aceptable max witht to powerstoke
+ //8 give an acceptable max width to powerstoke
double pressure_base = pow(*pressure, pressure_sensibility);
double pressure_shirnked = (pressure_base * (max - min)) + min;
double pressure_factor = pressure_base/pressure_shirnked;