summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-09-30 16:15:54 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-09-30 16:15:54 +0000
commit3e9296b964b8d0bd941991e05866882a689f4ac4 (patch)
treeee1f00357e1baa9ba3b5ebfb74a50b080971a645 /src/live_effects/parameter/item.cpp
parentImprovements to meassure segments LPE and a little styling tweak to default L... (diff)
downloadinkscape-3e9296b964b8d0bd941991e05866882a689f4ac4.tar.gz
inkscape-3e9296b964b8d0bd941991e05866882a689f4ac4.zip
Fix bug in comment #20 From Maren in bug #1715433. Clone original LPE can no longer be used to fill a powerstroke path
Diffstat (limited to 'src/live_effects/parameter/item.cpp')
-rw-r--r--src/live_effects/parameter/item.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/live_effects/parameter/item.cpp b/src/live_effects/parameter/item.cpp
index 149fd6627..e075cab1a 100644
--- a/src/live_effects/parameter/item.cpp
+++ b/src/live_effects/parameter/item.cpp
@@ -101,7 +101,10 @@ ItemParam::param_readSVGValue(const gchar * strvalue)
gchar *
ItemParam::param_getSVGValue() const
{
- return g_strdup(href);
+ if (href) {
+ return g_strdup(href);
+ }
+ return g_strdup("");
}
gchar *