diff options
Diffstat (limited to 'src/extension/parameter.cpp')
| -rw-r--r-- | src/extension/parameter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extension/parameter.cpp b/src/extension/parameter.cpp index b35052a0e..f59a5cc3d 100644 --- a/src/extension/parameter.cpp +++ b/src/extension/parameter.cpp @@ -917,6 +917,9 @@ ParamFloat::string (void) Glib::ustring * ParamString::string (void) { + if (_value == NULL) + return new Glib::ustring(""); + // FIXME: I think the string should NOT be escaped. Just put between "..." // Otherwise \frac{1}{2} will become \\frac{1}{2} and then the LaTeX effect won't work.... //gchar * esc = g_strescape(_value, NULL); |
