summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-04-27 18:23:29 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-04-27 18:23:29 +0000
commitb96a42f69c88422e0df06c9d664cf242e7dfdec5 (patch)
tree3a3f984020bef55f3c8e1cc7b4cf9a242164fc33 /src/xml
parentmerge from trunk (r12281) (diff)
parentmodify bbox width for Blur filter in Fill & Stroke (Bug 1171208) (diff)
downloadinkscape-b96a42f69c88422e0df06c9d664cf242e7dfdec5.tar.gz
inkscape-b96a42f69c88422e0df06c9d664cf242e7dfdec5.zip
merge from trunk (r12305)
(bzr r11668.1.68)
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/repr-util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp
index 6ea20b87a..8c8425de0 100644
--- a/src/xml/repr-util.cpp
+++ b/src/xml/repr-util.cpp
@@ -524,6 +524,8 @@ unsigned int sp_repr_get_point(Inkscape::XML::Node *repr, gchar const *key, Geom
gchar const *v = repr->attribute(key);
+ g_return_val_if_fail(v != NULL, FALSE);
+
gchar ** strarray = g_strsplit(v, ",", 2);
if (strarray && strarray[0] && strarray[1]) {