summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fbae89)
raw | patch | inline | side by side (parent: 4fbae89)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 5 Jul 2008 00:55:51 +0000 (00:55 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 5 Jul 2008 00:55:51 +0000 (00:55 +0000) |
src/shape-editor.cpp | patch | blob | history |
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 6b488af827d7d678c3325bda2ef73481cfa2f724..91909d8505fdae651ef80a5a552d3d7c4c972889 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
}
void ShapeEditor::decrement_local_change () {
- if (this->nodepath) {
- if (this->nodepath->local_change > 0)
- this->nodepath->local_change--;
+ if (this->nodepath && this->nodepath->local_change > 0) {
+ this->nodepath->local_change--;
} else if (this->knotholder) {
this->knotholder->local_change = FALSE;
}