summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 761a541)
raw | patch | inline | side by side (parent: 761a541)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 2 Aug 2006 21:47:24 +0000 (21:47 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 2 Aug 2006 21:47:24 +0000 (21:47 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 84c990bff8a8cde3ebea9801c8f4a16cb3ea5287..7caaf8c49cbb6794e79dafd17fe672ef2d013291 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
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;
}