summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/text.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-09-10 19:12:07 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-09-10 19:12:07 +0000
commit24166b289293a2b706a55f6605f06f436fa1d9bc (patch)
tree2140d882c9c6d00e3e53b410dc95de7c83419f29 /src/live_effects/parameter/text.cpp
parentFix bug #1357411 (diff)
downloadinkscape-24166b289293a2b706a55f6605f06f436fa1d9bc.tar.gz
inkscape-24166b289293a2b706a55f6605f06f436fa1d9bc.zip
Fix bug #1367520 (crash regression)
Fixed bugs: - https://launchpad.net/bugs/1367520 (bzr r13551)
Diffstat (limited to 'src/live_effects/parameter/text.cpp')
-rw-r--r--src/live_effects/parameter/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp
index fcb2fc9fc..956a001ad 100644
--- a/src/live_effects/parameter/text.cpp
+++ b/src/live_effects/parameter/text.cpp
@@ -85,7 +85,7 @@ TextParam::param_readSVGValue(const gchar * strvalue)
gchar *
TextParam::param_getSVGValue() const
{
- return (gchar *) value.c_str();
+ return g_strdup(value.c_str());
}
Gtk::Widget *