diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index 4adf883a46ddd230d9c20946c10e51c76bbc282f..178ca89a8b210c93a529f8a75720e4170109a745 100644 (file)
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
SPItem *item = (SPItem *) object;
SPShape *shape = (SPShape *) object;
- if (key < 0 || key > SP_MARKER_LOC_END) {
+ if (key > SP_MARKER_LOC_END) {
return;
}