summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pencil-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-12-04 20:22:15 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-12-04 20:22:15 +0000
commit0c9f0d1d84f706590c8704b32d06270ec0eacbea (patch)
tree9ea8f5c06da1c8787f7ebe882248a77f9d3ce1fa /src/ui/tools/pencil-tool.cpp
parentRemobing bspline interpolator (diff)
parentCairoRenderer: print warning if rendering failed (diff)
downloadinkscape-0c9f0d1d84f706590c8704b32d06270ec0eacbea.tar.gz
inkscape-0c9f0d1d84f706590c8704b32d06270ec0eacbea.zip
Update to trunk
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
-rw-r--r--src/ui/tools/pencil-tool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp
index 108a89af8..13d69b063 100644
--- a/src/ui/tools/pencil-tool.cpp
+++ b/src/ui/tools/pencil-tool.cpp
@@ -113,7 +113,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);
@@ -325,7 +325,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);
}