From 12ea05d1efa17dc55b35f37128c5e19677c38247 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sat, 14 Feb 2009 00:26:56 +0000 Subject: [PATCH] warning fix --- src/sp-shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2