Code

warning fix
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 14 Feb 2009 00:26:56 +0000 (00:26 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 14 Feb 2009 00:26:56 +0000 (00:26 +0000)
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;
     }