Code

fix pasting style after copying a text span
[inkscape.git] / src / sp-shape.cpp
index 4adf883a46ddd230d9c20946c10e51c76bbc282f..178ca89a8b210c93a529f8a75720e4170109a745 100644 (file)
@@ -952,7 +952,7 @@ sp_shape_set_marker (SPObject *object, unsigned int key, const gchar *value)
     SPItem *item = (SPItem *) object;
     SPShape *shape = (SPShape *) object;
 
-    if (key < 0 || key > SP_MARKER_LOC_END) {
+    if (key > SP_MARKER_LOC_END) {
         return;
     }