From: buliabyak Date: Sat, 14 Feb 2009 00:26:56 +0000 (+0000) Subject: warning fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=12ea05d1efa17dc55b35f37128c5e19677c38247;p=inkscape.git warning fix --- diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 4adf883a4..178ca89a8 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -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; }