summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index f9c550684..00d7d64c2 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1041,6 +1041,7 @@ SPIString::read( gchar const *str ) {
const Glib::ustring SPIString::get_value() const
{
if (this->inherit) return Glib::ustring("inherit");
+ if (!this->value) return Glib::ustring("");
if( name.compare( "font-family" ) == 0 ) {
Glib::ustring font_family( this->value );
css_font_family_quote( font_family );