From: buliabyak Date: Wed, 2 Aug 2006 21:47:24 +0000 (+0000) Subject: fix new deletion behavior when deleting up to next-to-last node in subpath X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4bb03614191a0b6a18e5669a7b236d2bde79e7a7;p=inkscape.git fix new deletion behavior when deleting up to next-to-last node in subpath --- 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; }