summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-09-02 08:29:21 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-09-02 08:29:21 +0000
commitf1ce91bad03f9409bdd8549c5bc26bcc4982a669 (patch)
treeafed0fd8970ec8da8ee349759d1c9d54739a3da2 /src/shape-editor.cpp
parentcomment update (diff)
downloadinkscape-f1ce91bad03f9409bdd8549c5bc26bcc4982a669.tar.gz
inkscape-f1ce91bad03f9409bdd8549c5bc26bcc4982a669.zip
Fixed forgotten variable assignment
(bzr r6755)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index a6bb13855..91fdeca35 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -355,7 +355,7 @@ bool ShapeEditor::is_over_stroke (NR::Point event_p, bool remember) {
if (SP_IS_SHAPE(item)) {
curve = sp_shape_get_curve(SP_SHAPE(item));
} else {
- this->nodepath->curve; // not sure if np->curve is always up to date...
+ curve = this->nodepath->curve; // not sure if np->curve is always up to date...
}
Geom::PathVector const &pathv = curve->get_pathvector();
Geom::PathVectorPosition pvpos = Geom::nearestPoint(pathv, this->curvepoint_doc);