summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-18 18:08:42 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-18 18:08:42 +0000
commit0c67c166ce5fb0e447b5c957e9222610d9d0c559 (patch)
treed10c904aed7d23568444776bda67b76cd574b36f /src/knotholder.cpp
parentAdded kaleidoscope mode (diff)
parentLatvian translation update (diff)
downloadinkscape-0c67c166ce5fb0e447b5c957e9222610d9d0c559.tar.gz
inkscape-0c67c166ce5fb0e447b5c957e9222610d9d0c559.zip
update to trunk
(bzr r13708.1.18)
Diffstat (limited to 'src/knotholder.cpp')
-rw-r--r--src/knotholder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp
index f46daa09e..a2d1cf017 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -165,7 +165,8 @@ KnotHolder::knot_clicked_handler(SPKnot *knot, guint state)
if (saved_item) { //increasingly aggressive sanity checks
if (saved_item->document) {
- if (object_verb <= SP_VERB_LAST && object_verb >= SP_VERB_INVALID) {
+ // enum is unsigned so can't be less than SP_VERB_INVALID
+ if (object_verb <= SP_VERB_LAST) {
DocumentUndo::done(saved_item->document, object_verb,
_("Change handle"));
}