summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-18 16:44:48 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-18 16:44:48 +0000
commitc6f1fa0dfb5beaac7b0781213711028b511c5f6e (patch)
tree3712e7c481f312bde6cb19d9b760ad0ba6f48f2a /src/gradient-drag.cpp
parentUpdate to trunk (diff)
parentfix memory reallocation (diff)
downloadinkscape-c6f1fa0dfb5beaac7b0781213711028b511c5f6e.tar.gz
inkscape-c6f1fa0dfb5beaac7b0781213711028b511c5f6e.zip
Update to trunk
(bzr r11950.1.185)
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index b3622107b..0b250fe52 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -879,7 +879,7 @@ static void gr_knot_moved_handler(SPKnot *knot, Geom::Point const &ppointer, gui
if (!bsp.getSnapped()) {
// If we didn't truly snap to an object or to a grid, then we will still have to look for the
// closest projection onto one of the constraints. findBestSnap() will not do this for us
- for (std::list<Inkscape::SnappedPoint>::const_iterator i = isr.points.begin(); i != isr.points.end(); i++) {
+ for (std::list<Inkscape::SnappedPoint>::const_iterator i = isr.points.begin(); i != isr.points.end(); ++i) {
if (i == isr.points.begin() || (Geom::L2((*i).getPoint() - p) < Geom::L2(bsp.getPoint() - p))) {
bsp.setPoint((*i).getPoint());
bsp.setTarget(Inkscape::SNAPTARGET_CONSTRAINED_ANGLE);