summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-08-02 21:47:24 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-08-02 21:47:24 +0000
commite6ee3b83c7ae77d52c403fd1358ba277670a9bc6 (patch)
tree749ab28fc7dfeee5229f19fd12687fd386c52b1b /src/nodepath.cpp
parentAdded skeleton files for other filter primitives' SP-objects. Added blur slid... (diff)
downloadinkscape-e6ee3b83c7ae77d52c403fd1358ba277670a9bc6.tar.gz
inkscape-e6ee3b83c7ae77d52c403fd1358ba277670a9bc6.zip
fix new deletion behavior when deleting up to next-to-last node in subpath
(bzr r1543)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 84c990bff..7caaf8c49 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -1935,7 +1935,7 @@ void sp_node_delete_preserve(GList *nodes_to_delete)
data.push_back(sample_cursor->pos);
for (Inkscape::NodePath::Node *curr=sample_cursor; curr; curr=curr->n.other) {
//just delete at the end of an open path
- if (!sp->closed && curr->n.other == sp->last) {
+ if (!sp->closed && curr == sp->last) {
just_delete = true;
break;
}