From 4bb03614191a0b6a18e5669a7b236d2bde79e7a7 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 2 Aug 2006 21:47:24 +0000 Subject: [PATCH] fix new deletion behavior when deleting up to next-to-last node in subpath --- src/nodepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2