summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/array.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-06 10:01:17 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-06 10:01:17 +0000
commit936f6512b26120b882a1c68e50968a15002f3af4 (patch)
tree82d18a24db63832d51f5d59544dc9561680fe372 /src/live_effects/parameter/array.cpp
parentFix a bug displaying arcs (diff)
downloadinkscape-936f6512b26120b882a1c68e50968a15002f3af4.tar.gz
inkscape-936f6512b26120b882a1c68e50968a15002f3af4.zip
Fixes from branch review
(bzr r13645.1.102)
Diffstat (limited to 'src/live_effects/parameter/array.cpp')
-rw-r--r--src/live_effects/parameter/array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/array.cpp b/src/live_effects/parameter/array.cpp
index 9b326fe32..0abcd4b9b 100644
--- a/src/live_effects/parameter/array.cpp
+++ b/src/live_effects/parameter/array.cpp
@@ -20,7 +20,7 @@ sp_svg_satellite_read_d(gchar const *str, Satellite *sat){
return 0;
}
gchar ** strarray = g_strsplit(str, ",", 8);
- if(strarray[7] && !strarray[8]){
+ if(strlen(str) > 0 && strarray[7] && !strarray[8]){
sat->setSatelliteType(g_strstrip(strarray[0]));
sat->is_time = strncmp(strarray[1],"1",1) == 0;
sat->active = strncmp(strarray[2],"1",1) == 0;